|
Boost : |
From: Boris Gubenko (Boris.Gubenko_at_[hidden])
Date: 2006-08-22 11:38:40
It does not really regex library issue, but the bug in hpux.hpp
configuration header was revealed by regex library test
regex_regress_threaded.
Also, John Maddock is one of the authors of hpux.hpp, so, I
thought, putting [regex] on the subject of this mail would be
appropriate.
Attached patch enables threads support on HP-UX when compiled
with aCC. With patched header, test regex_regress_threaded
passes. With the original header, it fails to compile.
The patch also enables native swprintf and cwctype when
_INCLUDE__STDC_A1_SOURCE macro is defined (on ia64, aCC
predefines this macro).
The hpux.hpp header is the same in RC_1_34 and HEAD and I'd
like the patch to be committed to both, if possible.
Thanks,
Boris Gubenko
HP C++ team
$ diff hpux.hpp \
./boost-RC_1_34_0-06-08-20-0308/boost/config/platform/hpux.hpp
5d4
< // (C) Copyright Boris Gubenko 2006.
22,25c21,22
< #if !(defined(__HP_aCC) && defined(_INCLUDE__STDC_A1_SOURCE))
< # define BOOST_NO_SWPRINTF
< # define BOOST_NO_CWCTYPE
< #endif
--- > #define BOOST_NO_SWPRINTF > #define BOOST_NO_CWCTYPE 36,38d32 < #elif defined(__HP_aCC) && !defined(BOOST_DISABLE_THREADS) < # define BOOST_HAS_THREADS < # define BOOST_HAS_PTHREADS $
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk