Boost logo

Boost Users :

From: John Maddock (john_maddock_at_[hidden])
Date: 2003-03-24 07:11:22


> Problem compiling c_regex_traits.cpp:
>
> g++ -c -DNO_PLT_CALLS -fPIC -ftemplate-depth-30 -Wall -W -g
> -BOOST_REGEX_NO_LIB -DBOOST_REGEX_STATIC_LINK -DDBG_ENABLED
> -DQT_NO_ASCII_CAST -DQT_ALTERNATE_QTSMANIP -DBOOST_REGEX_NO_LIB
> -DBOOST_REGEX_STATIC_LINK -I/usr/local/eddynet/opt/qt/mkspecs/hpux-g++ -I.
> -I. -I/usr/local/eddynet/opt/qt/include -IMOCS/ -o OBJS/c_regex_traits.o
> libs/regex/src/c_regex_traits.cpp
> libs/regex/src/c_regex_traits.cpp: In static member function `static void
> boost::c_regex_traits<char>::update()':
> libs/regex/src/c_regex_traits.cpp:655: call of overloaded `getlocale(int)'
> is ambiguous
> /usr/include/locale.h:114: candidates are: locale_data* getlocale(int)
> libs/regex/src/c_regex_traits.cpp:62: const char*
> <unnamed>::getlocale(int)
>
> For the time being I'm going to introduce a named namespace inside the
> anonymous namespace and scope the call.

Thanks for the report, I'll get that fixed.

John.


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