Boost logo

Boost Users :

Subject: [Boost-users] help me with xpressive
From: haccel (haccel_at_[hidden])
Date: 2009-12-25 07:40:27


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_regex<std::wstring::const_iterator> wsregex;
    typedef basic_regex<wchar_t const *> wcregex;
 #endif

What can i do?
Thanx.

-- 
View this message in context: http://old.nabble.com/help-me-with-xpressive-tp26842492p26842492.html
Sent from the Boost - Users mailing list archive at Nabble.com.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net