win32 build problem (cvs, msvc 2005 express)

Поиск
Список
Период
Сортировка
От craigp
Тема win32 build problem (cvs, msvc 2005 express)
Дата
Msg-id 345174.44593.qm@web53903.mail.re2.yahoo.com
обсуждение исходный текст
Ответы Re: win32 build problem (cvs, msvc 2005 express)
Список pgsql-hackers
I'm having trouble compiling the current cvs version on windows xp (msvc 2005 express). Compile errors below.

I have bison 1.875 (I can't find 2.2+ for windows) and flex 2.5.4. These tools seem to generate correct outputs.

It looks like it might be including parse.h from include/parser/parse.h instead of src/backend/parser/parse.h. Are
thesetwo files supposed to be identical? NULLS_P, etc is defined in the latter, but not the former. If I manually copy
thefile over, compilation succeeds (still struggling with linking).
 

Here are the compile errors:              Build started: Project: postgres, Configuration: Release|Win32       Running
bisonon src\backend\parser\gram.y               1 file(s) copied.       Running flex on src\backend\parser\scan.l
Compiling...      parser.c       .\src\backend\parser\parser.c(100): error C2065: 'NULLS_P' : undeclared identifier
 .\src\backend\parser\parser.c(100): error C2051: case expression not constant
.\src\backend\parser\parser.c(111):error C2065: 'NULLS_FIRST' : undeclared identifier
.\src\backend\parser\parser.c(114):error C2065: 'NULLS_LAST' : undeclared identifier       keywords.c
.\src\backend\parser\keywords.c(45):error C2065: 'ALWAYS' : undeclared identifier
.\src\backend\parser\keywords.c(45):error C2099: initializer is not a constant
.\src\backend\parser\keywords.c(90):error C2065: 'CONFIGURATION' : undeclared identifier
.\src\backend\parser\keywords.c(90):error C2099: initializer is not a constant
.\src\backend\parser\keywords.c(94):error C2065: 'CONTENT_P' : undeclared identifier
.\src\backend\parser\keywords.c(94):error C2099: initializer is not a constant
 

thanks!
--craig




     ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: pg_dump additional options for performance
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: win32 build problem (cvs, msvc 2005 express)