This forum has been archived. Please start a new discussion on GitHub.

slice2cpp/Parser and yydebug

I have had more problems trying to build slice2cpp on Solaris using the Forte compiler. Grammar.y produces the symbol yydebug under certain conditions but these conditions are assumed by Parser.cpp. When these conditions are not true slice2cpp fails to link with symbol 'yydebug' not found. This can be fixed by surrounding the use of yydebug with #if YYDEBUG/#endif just as is done in the code generated from Grammar.y