Compiler does not detect support for 64 bit integers
I'm trying to compile a parser for full text searching starting from the
code in this example:
http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/HOWTO-parser-tsearch2.html
I'm using Code::block with MinGW on a Windows Seven x64 and I get these
errors:
..\..\..\Program Files\PostgreSQL\9.0\include\server\c.h|284|error:
#error must have a working 64-bit integer datatype|
..\..\..\Program
Files\PostgreSQL\9.0\include\server\postgres.h|550|error: expected ')'
before 'X'|
||=== Build finished: 2 errors, 0 warnings ===|
Compiler detects errors in Postgresql's header files and I do not know
how to solve them. Any suggestion?
Thanks in advance,
Antonio
Antonio Franzoso <antoniofranzoso@yahoo.it> writes:
I'm using Code::block with MinGW on a Windows Seven x64 and I get these
errors:
..\..\..\Program Files\PostgreSQL\9.0\include\server\c.h|284|error:
#error must have a working 64-bit integer datatype|
Um ... did you run the configure script? In a MinGW environment the
build process is basically like Unix, it's not the MSVC way.
regards, tom lane
Il 23/11/2011 22:44, Tom Lane ha scritto:
Antonio Franzoso<antoniofranzoso@yahoo.it> writes:
I'm using Code::block with MinGW on a Windows Seven x64 and I get these
errors:
..\..\..\Program Files\PostgreSQL\9.0\include\server\c.h|284|error:
#error must have a working 64-bit integer datatype|Um ... did you run the configure script? In a MinGW environment the
build process is basically like Unix, it's not the MSVC way.regards, tom lane
Thanks for reply. Should I run a configure script even I've specified in
the build option where compiler can find the header files?
Sorry, but I'm a newbie.