Boost logo

Boost Users :

From: Tom Matelich (tmatelich_at_[hidden])
Date: 2003-03-22 17:09:31


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,
Tom

-----------------------------------------------------------------------
DISCLAIMER: Information contained in this message and/or
attachment(s) may contain confidential information of Zetec, Inc.
If you have received this transmission in error, please notify
the sender by return email.
-----------------------------------------------------------------------


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