On 21/06/17 14:53, Vitaly Prapirny wrote:
Roger Leigh wrote on 21/06/2017 13:58:
Sorry, too hasty.  Please try this revised patch which actually works.

CMake worked without error, but compilation failed just the same way as in my previous message.

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.


Regards,
Roger

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to