John Maddock wrote:
[...] as you noticed gcc on HPUX doesn't get tested that much [...]
John, this is no longer the case. Two HP-UX platforms are tested with
gcc on a regular basis: HP-UX_pa_risc_gcc and HP-UX_ia64_gcc. On both,
all regex tests pass (I'm not implying that they should be failing
because of this configuration issue).
Thanks,
Boris
----- Original Message -----
From: "John Maddock"
Martin_Thomas@McAfee.com wrote:
I am trying to use use Boost::Regex on HP 11i with gcc 4.2.2 and I notice that in config/platform/hpux.hpp there is a define to turn off wide-char support unless using aCC and have a1 source eg:
#if !(defined(__HP_aCC) || !defined(_INCLUDE__STDC_A1_SOURCE))
# define BOOST_NO_SWPRINTF
# define BOOST_NO_CWCTYPE
#endif
This will never allow gcc to use wregex even if wchar support is available. Is this because there are so few people using Zgcc oin HP-ux or am I missing something? On the assumption that it is related to usage, I have added the following to allow gcc 4 to use wregex:
#if defined(__GNUC__)
# if (__GNUC__ >3)
# undef BOOST_NO_CWCTYPE
# endif
#endif
Is there anything obviously wrong with this?
No it should work OK: as you noticed gcc on HPUX doesn't get tested that much so our config information may well be out of date.
HTH, John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users