Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2004-07-16 21:13:08


date-time has a number of regession test failures when it is built in the dll
mode on windows. They look like this:

    C:\Progra~1\Comeau\4_3_3\bin\como --vc7 -c -e5 --no_version
--no_prelink_verbose --display_error_number --long_long
--diag_suppress=9,21,161,748,940,962 -D__STL_LONG_LONG
-DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_ALL_DYN_LINK=1 --a
--no_inlining /Zi /Od -D_WIN32 --exceptions -DBOOST_DISABLE_WIN32 --wchar_t
-I"C:\Users\Administrator\boost\main\results\bin\boost\libs\date_time\build"
-I"C:\Users\Administrator\boost\main\boost"
-I"C:\Progra~1\Comeau\4_3_3\libcomo"
-I"C:\Progra~1\Comeau\4_3_3\libcomo\cnames" -o
"C:\Users\Administrator\boost\main\results\bin\boost\libs\date_time\build\boost_date_time.dll\meta-como-win32-4.3.3-vc7\debug\greg_month.obj"
 "C:\Users\Administrator\boost\main\boost\libs\date_time\build\../src/gregorian/greg_month.cpp"

"C:\Users\Administrator\boost\main\boost\boost/date_time/gregorian/greg_month.hpp",
line 55: error #70:
          incomplete type is not allowed
    class BOOST_DATE_TIME_DECL greg_month : public greg_month_rep {
          ^

Which looks like it is complaining about the BOOST_DATE_TIME_DECL macro. I'm
wondering if in config/platform/win32.hpp we need to at como to this little
macro that controls the definition of BOOST_HAS_DECLSPEC.

#if !defined(__GNUC__) && !defined(BOOST_HAS_DECLSPEC)
# define BOOST_HAS_DECLSPEC
#endif

I've never used this compiler -- anyone out there know how it handles dll
symbol export on win32?

Jeff


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