Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation error with Bison >=2.6 #4

Merged
merged 1 commit into from
Aug 11, 2013

Conversation

petere
Copy link
Contributor

@petere petere commented Jul 21, 2013

Because of the way newer Bison versions arrange the prototypes in the generated header files, there will be a compiler error because of inconsistent prototypes if YYPARSE_PARAM is used. Move #define of YYPARSE_PARAM into header file so that the prototype for orafce_sql_yyparse() is consistent.

See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710633.

@deadpoint
Copy link

Any change of this pull request getting accepted anytime soon and a the code tagged? I'm the package maintainer for OpenSUSE, server:database:postgresql repo, and our 12.3 and Factory builds fail do to this, in the meantime I'll be patching things.

thanks!

@petere
Copy link
Contributor Author

petere commented Aug 8, 2013

I plan to update the pull request with additional fixes for Bison 3.0.

Because of the way newer Bison versions arrange the prototypes in the
generated header files, there will be a compiler error because of
inconsistent prototypes if YYPARSE_PARAM is used.  Moreover, Bison 3.0
removes support for YYPARSE_PARAM altogether.  Use the declaration
%parse-param instead.
@petere
Copy link
Contributor Author

petere commented Aug 10, 2013

updated to include support for Bison 3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants