
Cant compile in mingw ( QtCreator , Windows ) code with using boost
xpressive.
It talks " undeclared symbols - wsregex " .
But with sregex ang cregex it works fine.
Visual Studio compile wsregex fine , too.
But GCC not.
Found nex code in \boost\xpressive\xpressive_fwd.hpp -
#if defined(BOOST_NO_CWCHAR) | defined(BOOST_NO_CWCTYPE) |
defined(BOOST_NO_STD_WSTRING)
# ifndef BOOST_XPRESSIVE_NO_WREGEX
# define BOOST_XPRESSIVE_NO_WREGEX
# endif
#endif
and later :
#ifndef BOOST_XPRESSIVE_NO_WREGEX
typedef basic_regexstd::wstring::const_iterator wsregex;
typedef basic_regex