mirror of
https://github.com/boostorg/regex.git
synced 2025-07-15 13:26:38 +02:00
Disable template instantiation for Clang: it breaks with -fvisibility=hidden
This commit is contained in:
@ -113,6 +113,13 @@
|
||||
#if defined(__MINGW32__)
|
||||
# define BOOST_REGEX_NO_EXTERNAL_TEMPLATES
|
||||
#endif
|
||||
/*
|
||||
* Clang fails to export template instances with -fvisibility=hidden, see
|
||||
* https://github.com/boostorg/regex/issues/49
|
||||
*/
|
||||
#ifdef __clang__
|
||||
# define BOOST_REGEX_NO_EXTERNAL_TEMPLATES
|
||||
#endif
|
||||
|
||||
/*
|
||||
* If there isn't good enough wide character support then there will
|
||||
|
Reference in New Issue
Block a user