Vitaly Prapirny wrote on 22/06/2017 10:53:
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)

Roger,

After you fix that, I've got another error:

[ 80%] Linking CXX shared library xerces-c.dll
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Error E2194: Could not find file '@CMakeFiles\xerces-c.dir\objects1.rsp'

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