Shop OBEX P1 Docs P2 Docs Learn Events
yylex kills my propgcc build of the p2test branch — Parallax Forums

yylex kills my propgcc build of the p2test branch

JackBakJackBak Posts: 45
edited 2013-05-15 08:33 in Propeller 1
I have checked to make sure all of the prereq build packages are in place based on the wiki pages. I am building on openSUSE 12.3
Every thing goes fine until the spin2cpp compile then I get...
../../build/spin2cpp/obj/linux/spin.tab.c: In function ‘yyparse’:
../../build/spin2cpp/obj/linux/spin.tab.c:3063:7: error: call to function ‘yylex’ without a real prototype [-Werror=unprototyped-calls]
spin.y:14:9: note: ‘yylex’ was declared here
cc1: all warnings being treated as errors
make: *** [../../build/spin2cpp/obj/linux/spin.tab.o] Error 1

I did a mercurial checkout this morning to make sure everything is up to date. Any advice would be appreciated.

Jack

Comments

  • ersmithersmith Posts: 6,054
    edited 2013-05-15 04:46
    Try removing the flags "-Wall -Werror" from the CFLAGS define in the Makefile. It appears that the openSUSE compiler must have some warnings enabled by default that earlier versions of gcc do not.

    Eric
  • JackBakJackBak Posts: 45
    edited 2013-05-15 08:33
    With that change "Bob apparently is my uncle". It all works. Thanks.
Sign In or Register to comment.