Greetings,
I am getting a compile error when building Poco 1.4.7 libraries on Mac OS 10.10.1 (Yosemite).
I configured the build as follows:
./configure --omit=Data/ODBC,Data/MySQL,Zip --no-tests --no-samples
Then it says 'Configured for Darwin'
After typing 'make', I am getting the following error:
In file included from src/Thread.cpp:54:
src/Thread_POSIX.cpp:166:13: error: expected unqualified-id
const int PAGE_SIZE = 4096;
^
/usr/include/mach/i386/vm_param.h:98:20: note: expanded from macro 'PAGE_SIZE'
define PAGE_SIZE I386_PGBYTES
^
/usr/include/mach/i386/vm_param.h:95:23: note: expanded from macro 'I386_PGBYTES'
define I386_PGBYTES 4096 /* bytes per 80386 page */
^
1 error generated.
I have tried all possible Darwin* platform options in the '--config' argument of the configure command, but I always get the same error.
Any idea of what could go wrong?
Thanks!
Timothee