Skip site navigation (1) Skip section navigation (2)

Re: wxWidgets 2.9 build

From: Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Guillaume Lelarge <guillaume(at)lelarge(dot)info>, pgadmin-hackers(at)postgresql(dot)org
Subject: Re: wxWidgets 2.9 build
Date: 2011-01-18 23:25:38
Message-ID: AANLkTikNZZm8Sp-0bBWbY=iB5XgJt0Ft-0mQJtY+npVF@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
Seems I omitted to copy my system's FlexLexer.h to
./pgadmin3/pgadmin/include/pgscript. Seemingly the FlexLexer.h that
ships with pgadmin is for Flex 2.5.33 only. I have 2.5.35.

However, I now get a slightly different set of compiler errors, so I'm
not much better off.

pgscript/lex.pgs.cc:944:10: error: ‘yy_buffer_stack’ was not declared
in this scope
pgscript/lex.pgs.cc:944:10: error: ‘yy_buffer_stack_top’ was not
declared in this scope
pgscript/lex.pgs.cc:945:27: error: ‘yyensure_buffer_stack’ was not
declared in this scope
pgscript/lex.pgs.cc:1858:8: error: ‘yy_buffer_stack’ was not declared
in this scope

...and so on...

Why do we ship a copy of FlexLexer.h from a specific version of
flex++? Are we really that sensitive to the differences in Flex
versions? Is the easiest thing to get pgadmin to build after changing
the pgscript grammar to use flex 2.5.33, as perhaps suggested in
./pgadmin3/pgadmin/pgscript/README?

-- 
Regards,
Peter Geoghegan

In response to

Responses

pgadmin-hackers by date

Next:From: Guillaume LelargeDate: 2011-01-18 23:35:55
Subject: Patch to support SSL certificate connections
Previous:From: Guillaume LelargeDate: 2011-01-18 20:52:47
Subject: Re: pgAdmin III commit: The new version of astyle seems to want to tweak a

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group