Skip to content
Snippets Groups Projects
Commit 2a08d0d0 authored by Axel Naumann's avatar Axel Naumann
Browse files

Fix MacOS missing symbol __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEi.

This is triggered by emitting operator<< 'class std::__1::basic_ostream<char,
struct std::__1::char_traits<char> > &(int)' even though its marked as exported
in general. Now that clang and libc++ agree on the handling of exported
templates we can remove our work-around.
parent 478dd14f
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ if [ ! -x core/utils/src/rootcling_tmp ]; then ...@@ -61,7 +61,7 @@ if [ ! -x core/utils/src/rootcling_tmp ]; then
exit 0 exit 0
fi fi
cxxflags="-D_LIBCPP_EXTERN_TEMPLATE(...)= -D__CLING__ -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -Iinclude -Ietc -Ietc/cling `cat cppflags.txt | sort | uniq`" cxxflags="-D__CLING__ -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -Iinclude -Ietc -Ietc/cling `cat cppflags.txt | sort | uniq`"
rm cppflags.txt rm cppflags.txt
# generate one large pcm # generate one large pcm
......
...@@ -23,11 +23,6 @@ ...@@ -23,11 +23,6 @@
#ifdef __cplusplus #ifdef __cplusplus
#ifdef _LIBCPP_EXTERN_TEMPLATE
#undef _LIBCPP_EXTERN_TEMPLATE
#endif
#define _LIBCPP_EXTERN_TEMPLATE(...)
#include "cling/Interpreter/RuntimeException.h" #include "cling/Interpreter/RuntimeException.h"
namespace cling { namespace cling {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment