Skip to content

Build fails with Bison 3.7 #77

Description

@kaol

Debian updated to Bison 3.7 and building Gecode 6.2.0 fails with it. The gecode/flatzinc/parser.tab.cpp file it generates has an #include "parser.tab.hpp" directive in it and since make renames parser.tab.hpp as parser.tab.hh, that fails.

I fixed it for Debian by adding this to the gecode/flatzinc/parser.tab.cpp target in Makefile.in:

sed -i 's/^#include "parser.tab.hpp"/#include "parser.tab.hh"/' gecode/flatzinc/parser.tab.cpp

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions