Skip to content

Commit 7bdcb97

Browse files
committed
Remove MSVC version-specific symbol export for 32-Windows
The MSVC version-specific symbol export for 32-Windows seems to break the `rf614_binned_fit_problems.C` tutorial when using the CXX compiler MSVC 19.39.33521.0: ```txt 1564/2950 Test #975: tutorial-roofit-roofit-rf614_binned_fit_problems ..................................................***Failed 15.32 sec Processing C:/ROOT-CI/src/tutorials/roofit/roofit/rf614_binned_fit_problems.C... IncrementalExecutor::executeFunction: symbol '__std_find_trivial_4@12' unresolved while linking [cling interface function]! You are probably missing the definition of __std_find_trivial_4@12 Maybe you need to load the corresponding shared library? CMake Error at C:/ROOT-CI/build/RootTestDriver.cmake:232 (message): error code: 1 ``` Follows up on: * #15063 * #15860
1 parent 2ccd2a4 commit 7bdcb97

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

core/metacling/src/CMakeLists.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -190,21 +190,6 @@ if(MSVC)
190190
??1LifetimeHandler@internal@runtime@cling@@QAE@XZ
191191
?_Facet_Register@std@@YAXPAV_Facet_base@1@@Z
192192
)
193-
if(MSVC_VERSION GREATER_EQUAL 1938 AND MSVC_VERSION LESS 1940)
194-
set(cling_exports ${cling_exports}
195-
??$__std_find_trivial@$$CBDD@@YAPBDPBD0D@Z
196-
??$__std_find_trivial@DD@@YAPADPAD0D@Z
197-
??$__std_find_trivial@HH@@YAPAHPAH0H@Z
198-
??$__std_find_trivial@IH@@YAPAIPAI0H@Z
199-
___std_find_trivial_1@12
200-
___std_find_trivial_2@12
201-
___std_find_trivial_4@12
202-
___std_find_trivial_8@16
203-
)
204-
endif()
205-
if(MSVC_VERSION LESS 1914)
206-
set(cling_exports ${cling_exports} ??3@YAXPAX0@Z ??_V@YAXPAX0@Z)
207-
endif()
208193
endif()
209194
foreach(sym ${cling_exports})
210195
set(cling_link_str "${cling_link_str} /EXPORT:${sym}")

0 commit comments

Comments
 (0)