The other config.h is generated from configure.ac, so really then these
defines should migrate into something emitted from
configure.ac...perhaps wrapped in a #ifdef WIN32 block....
Holger Tasch wrote:
Hello List,
a problem occured while trying to build commoncpp2-1.3.19 in MSYS with MINGW
(all latest):
./configure
completed just fine, but make comes only to file.cpp and complains:
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY
-D_GNU_SOURCE -I../w32 -g -O2 -MT file.lo -MD -MP -MF .deps/file.Tpo -c
file.cpp -DDLL_EXPORT -DPIC -o .libs/file.o
file.cpp: In function `time_t ost::lastAccessed(const char*)':
file.cpp:1455: error: `SECS_BETWEEN_EPOCHS' undeclared (first use this
function)
file.cpp:1455: error: (Each undeclared identifier is reported only once for
each function it appears in.)
file.cpp:1455: error: `SECS_TO_100NS' undeclared (first use this function)
file.cpp: In function `time_t ost::lastModified(const char*)':
file.cpp:1481: error: `SECS_BETWEEN_EPOCHS' undeclared (first use this
function)
file.cpp:1481: error: `SECS_TO_100NS' undeclared (first use this function)
make[1]: *** [file.lo] Error 1
make[1]: Leaving directory `/d/install/sonstiges/commoncpp2-1.3.19/src'
make: *** [all-recursive] Error 1
which is perfectly true, because these macros are not defined in
./include/cc++/config.h, which is included, but only in ./w32/cc++/config.h,
which is not included. Am I missing something, or is there something wrong?
Thanks in advance & kind regards
Holger
begin:vcard
fn:David Sugar
n:Sugar;David
org:GNU Telephony
adr:;;;;;;USA
email;internet:[EMAIL PROTECTED]
x-mozilla-html:FALSE
url:http://www.gnutelephony.org
version:2.1
end:vcard
_______________________________________________
Bug-commoncpp mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-commoncpp