Roger Leigh wrote on 21/06/2017 17:40:
That line (PlatformUtils.cpp:27) is

#if HAVE_CONFIG_H
#    include <config.h>
#endif

so it either can't cope with "#if xxx" (which is used in many places), or the error is in the generated "config.h". I'm afraid you'll need to identify the cause of the error here. Can you include config.h in a single test file like this:

#if HAVE_CONFIG_H
#    include <config.h>
#endif

int main()
{}

with or without the #if/endif? If you can pinpoint where the problem is, we can look at further fixes.
Compilation of that single test file failed with just the same error "Expression syntax" when HAVE_CONFIG_H defined without value (-DHAVE_CONFIG_H). It succeeded when HAVE_CONFIG_H undefined or defined with value (-DHAVE_CONFIG_H=1)

Good luck!
   Vitaly

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to