|
Boost : |
From: Howard Hinnant (hinnant_at_[hidden])
Date: 2000-11-28 14:01:38
Beman Dawes wrote on 11/28/2000 1:47 PM
>At 04:59 PM 11/28/2000 +0200, starlett wrote:
>
> >This is the result of CW6 Mac/Classic MacOS 9.04 test:
> >
> >evrything went OK except : "regex_test.cpp" and "wregex_test.cpp".
> >
> >Error : declaration syntax error
> >regex_cstring.hpp line 50 size_t BOOST_RE_CALL re_strlen(const charT
>*s)
>
>Try removing the lines (approx line 265) from the Metrowerks section of
>config.hpp which read:
>
># if defined BOOST_DECL_EXPORTS
># define BOOST_DECL __declspec(dllexport)
># else
># define BOOST_DECL __declspec(dllimport)
># endif
>
>Let me know the result of doing so.
>
>My guess is they should only be active for Windows compiles.
>
>Howard, or any other CodeWarrior experts, is WIN32 the correct symbol to be
>checking for?
The __declspec stuff works on the Mac side too. We're using them for the
shared versions of MSL in Pro 6.
-Howard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk