silly newbies problem with date_time...

I am sure this will get me slapping my head with my own stuidity, can some one tell me why i am getting this message when i try to compile my application.. /usr/include/boost/date_time/c_time.hpp:49:70: error: macro "localtime" passed 2 arguments, but takes just 1 /usr/include/boost/date_time/c_time.hpp:57:67: error: macro "gmtime" passed 2 arguments, but takes just 1 In file included from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:26, from /usr/include/boost/date_time/gregorian/gregorian.hpp:20, from ./call_asf_import.h:25, i am using a ubuntu linux box with gcc
Target: x86_64-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu Thread model: posix gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
i include the following boost lines in the header...
#include
participants (1)
-
joh3ï¼ lithophile.com