I'm trying to compile latest version of DatabaseLayer (1.7.5) with PostgreSQL (8.3) support on WinXP with error:
- \databaselayer\build>mingw32-make -f makefile.gcc postgresql
< skipped messages >
g++ -c -o gccmswu\databaselayer_postgresql_lib_PostgresPreparedStatement.o -DHAVE_W32API_H -D_UNICODE -D__WXMSW__ -I"C:\work\wxWidgets-2.8.7"\lib\gcc_lib\mswu
-I"C:\work\wxWidgets-2.8.7"\include -O2 -W -Wall -I..\include -I"C:\Program Files\PostgreSQL\8.3\include" -I"C:\Program Files\PostgreSQL\8.3\lib"\include -MT
gccmswu\databaselayer_postgresql_lib_PostgresPreparedStatement.o -MFgccmswu\databaselayer_postgresql_lib_PostgresPreparedStatement.o.d -MD ../src/PostgresPreparedStatement.cpp
In file included from ../src/PostgresPreparedStatement.cpp:8:
C:/Program Files/PostgreSQL/8.3/include/server/mb/pg_wchar.h:295: error: `uint32' does not name a type
C:/Program Files/PostgreSQL/8.3/include/server/mb/pg_wchar.h:296: error: `uint32' does not name a type
C:/Program Files/PostgreSQL/8.3/include/server/mb/pg_wchar.h:304: error: `uint32' does not name a type
C:/Program Files/PostgreSQL/8.3/include/server/mb/pg_wchar.h:305: error: `uint32' does not name a type
C:/Program Files/PostgreSQL/8.3/include/server/mb/pg_wchar.h:313: error: `uint32' does not name a type
C:/Program Files/PostgreSQL/8.3/include/server/mb/pg_wchar.h:314: error: `uint32' does not name a type
C:/Program Files/PostgreSQL/8.3/include/server/mb/pg_wchar.h:315: error: `uint32' does not name a type
C:/Program Files/PostgreSQL/8.3/include/server/mb/pg_wchar.h:323: error: `uint32' does not name a type
C:/Program Files/PostgreSQL/8.3/include/server/mb/pg_wchar.h:324: error: `uint32' does not name a type
C:/Program Files/PostgreSQL/8.3/include/server/mb/pg_wchar.h:325: error: `uint32' does not name a type
mingw32-make: *** [gccmswu\databaselayer_postgresql_lib_PostgresPreparedStatemen
t.o] Error 1