mirror of
https://github.com/boostorg/regex.git
synced 2025-07-17 14:22:08 +02:00
Disable template instantiation for Clang: it breaks with -fvisibility=hidden
This commit is contained in:
@ -113,6 +113,13 @@
|
|||||||
#if defined(__MINGW32__)
|
#if defined(__MINGW32__)
|
||||||
# define BOOST_REGEX_NO_EXTERNAL_TEMPLATES
|
# define BOOST_REGEX_NO_EXTERNAL_TEMPLATES
|
||||||
#endif
|
#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
|
* If there isn't good enough wide character support then there will
|
||||||
|
Reference in New Issue
Block a user