Hi,

I just tried downloading & compiling Pork on Cygwin, and got the following error:

...
perl ../smbase/run-flex.pl -oagramlex.yy.cc agramlex.lex
flex -oagramlex.yy.cc agramlex.lex
modifying agramlex.yy.cc
g++-4 -c -o agramlex.yy.o agramlex.yy.cc -g -Wall -Wno-deprecated -D__UNIX__ -DNDEBUG -D__CYGWIN__ -I../smbase
agramlex.yy.cc:1292:1: warning: "/*" within comment
agramlex.yy.cc:2029:2: error: #endif without #if
make[1]: *** [agramlex.yy.o] Error 1
make[1]: Leaving directory `/cygdrive/c/Develop/Languages/C++/oink-stack/ast'
make: *** [all-rec] Error 1

Relevant versions:

$ perl --version

This is perl, v5.10.0 built for cygwin-thread-multi-64int
(with 6 registered patches, see perl -V for more detail)

$ flex --version
flex 2.5.35

$ g++-4 --version
g++-4 (GCC) 4.3.2 20080827 (alpha-testing) 1

I downloaded & built Pork like this:

wget http://people.mozilla.org/~tglek/checkout.sh
sh checkout.sh http://hg.mozilla.org
CC=gcc-4 CXX=g++-4 ./configure
make

Any idea what could be going on?  Or should I dig into agramlex.yy.cc ?

Best,
Martin
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to