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
Also, John Maddock is one of the authors of hpux.hpp, so, I
thought, putting [regex] on the subject of this mail would be
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.
HP C++ team
$ diff hpux.hpp \
< // (C) Copyright Boris Gubenko 2006.
< #if !(defined(__HP_aCC) && defined(_INCLUDE__STDC_A1_SOURCE))
< # define BOOST_NO_SWPRINTF
< # define BOOST_NO_CWCTYPE
--- > #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