Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 2000-11-28 13:47:48


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?

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk