[Quickfix-developers] [CVS] configure and _XOPEN_SOURCE
Brought to you by:
orenmnero
From: Caleb E. <cal...@gm...> - 2005-02-28 20:08:30
|
This line in configure.in: AC_DEFINE(_XOPEN_SOURCE, 500, "Define _XOPEN_SOURCE to make sure we get strptime") Causes problems building QF on Solaris. When _XOPEN_SOURCE is defined to 500 in config.h, I get this error compiling any code: "/usr/include/sys/siginfo.h", line 248: Error: Type name expected instead of "clock_t". "/usr/include/sys/siginfo.h", line 250: Error: Type name expected instead of "clock_t". Omitting this macro removes the problem. It looks like a bug in Solaris, but I can't figure out how else to fix this. -- Caleb Epstein caleb dot epstein at gmail dot com |