forked from boostorg/regex
regex: added explicit #error clause to reduce error messages when wide character support is not available.
[SVN r9227]
This commit is contained in:
@ -28,6 +28,10 @@
|
||||
|
||||
#include <boost/regex.hpp>
|
||||
|
||||
#ifdef BOOST_RE_NO_WCSTRING
|
||||
#error The regex library is not configured for wide character support
|
||||
#endif
|
||||
|
||||
//
|
||||
// instantiate templates used:
|
||||
//
|
||||
@ -194,3 +198,4 @@ template test_string_type regex_merge(const test_string_type&,
|
||||
#include "libs/regex/src/wide_posix_api.cpp"
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user