Boost logo

Boost :

From: Michel André (michel.andre_at_[hidden])
Date: 2003-03-30 14:12:30


I get the following error when trying to compile
date_time/microsec_time_clock.hpp from the current CVS with cygwin/gcc.

C:/Packages/boost/work/boost/date_time/microsec_time_clock.hpp:44: parse
error
   before `;' token

+ -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline -I"..\..\..\libs\soc
ket\build" -I"C:\Packages\boost\sandbox" -I"C:\Packages\boost\boost" -I"C:\P
ackages\boost\work" -o
"..\..\..\libs\socket\build\bin\libboost_socket.lib\gcc\debug\runtime-link-d
ynamic\socket_option.obj" "../src\socket_option.cpp"

...failed gcc-C++-action
..\..\..\libs\socket\build\bin\libboost_socket.lib\gcc\debug\runtime-link-dy
namic\socket_option.obj...
gcc-C++-action
..\..\..\libs\socket\build\bin\libboost_socket.lib\gcc\debug\runtime-link-dy
namic\default_socket_impl.obj
In file included from
C:/Packages/boost/work/boost/date_time/posix_time/posix_time_types.hpp:9,
                 from C:/Packages/boost/sandbox/boost/socket/config.hpp:32,
                 from
C:/Packages/boost/sandbox/boost/socket/impl/default_socket_impl.hpp:19,
                 from ../src/default_socket_impl.cpp:21:
C:/Packages/boost/work/boost/date_time/microsec_time_clock.hpp: In static
   member function `static time_type
   boost::date_time::microsec_clock<time_type>::create_time(timeval*)':
C:/Packages/boost/work/boost/date_time/microsec_time_clock.hpp:44: parse
error
   before `;' token

+ -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline -I"..\..\..\libs\soc
ket\build" -I"C:\Packages\boost\sandbox" -I"C:\Packages\boost\boost" -I"C:\P
ackages\boost\work" -o
"..\..\..\libs\socket\build\bin\libboost_socket.lib\gcc\debug\runtime-link-d
ynamic\default_socket_impl.obj" "../src\default_socket_impl.cpp"

...failed gcc-C++-action
..\..\..\libs\socket\build\bin\libboost_socket.lib\gcc\debug\runtime-link-dy
namic\default_socket_impl.obj...

Regards
/Michel


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