Hello,

I was trying to do a trunk build of Fossil that has incorporated recent
pre-release code via its check-in d1db1e47 <
http://fossil-scm.org/index.html/info/d1db1e47a4acdb7b>.  The build was
done on Haiku via the older GCC 2.95.3 compiler.  I can do a build just
fine with our GCC 4.8.4 compiler, but the build no longer works with the
older compiler.

Here's relevant output of the build error:

/boot/home/fossil/src/sqlite3.c:30973: macro `osGetpid' used without args
/boot/home/fossil/src/sqlite3.c:30973: macro `osGetpid' used without args
/boot/home/fossil/src/sqlite3.c:31365: macro `osGetpid' used without args

>From what I can tell, this is due to preprocessor changes that happened
between GCC 2 and GCC 3.

In any case, this is more an FYI than me asking for a fix, as Fossil and
SQLite can be built just fine using our GCC 4 compiler.  That said, if
SQLite is expected to build with older GCC compilers, then it would affect
other platforms as well.

- joe

Reply via email to