octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

build problems related to oct-parse


From: Ben Abbott
Subject: build problems related to oct-parse
Date: Sat, 02 Aug 2014 09:05:59 -0400

Building the gui-release branch is failing with the error below (MacOS 10.9.4 
using Macports and gcc 4.7).

<snip>...</snip>
/Users/bpabbott/Development/mercurial/gui-release/sources/libinterp/parse-tree/oct-parse.yy:1606.22-25:
 warning: unused value: $2
/Users/bpabbott/Development/mercurial/gui-release/sources/libinterp/parse-tree/oct-parse.yy:1610.19-21:
 warning: unused value: $1
/Users/bpabbott/Development/mercurial/gui-release/sources/libinterp/parse-tree/oct-parse.yy:1612.19-21:
 warning: unused value: $1
/Users/bpabbott/Development/mercurial/gui-release/sources/libinterp/parse-tree/oct-parse.yy:1614.19-22:
 warning: unused value: $1
/Users/bpabbott/Development/mercurial/gui-release/sources/libinterp/parse-tree/oct-parse.yy:1616.23-25:
 warning: unused value: $2
/Users/bpabbott/Development/mercurial/gui-release/sources/libinterp/parse-tree/oct-parse.yy:1618.23-25:
 warning: unused value: $2
/Users/bpabbott/Development/mercurial/gui-release/sources/libinterp/parse-tree/oct-parse.yy:1620.23-26:
 warning: unused value: $2
parse-tree/oct-parse.output is unchanged
updating parse-tree/oct-parse.h
/opt/local/bin/g++-mp-4.7 -E -DHAVE_CONFIG_H -I. -I..  \
          -I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric 
-I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators 
-I../liboctave/system -I../liboctave/util -I./octave-value -I./operators 
-Iparse-tree -I./parse-tree -Icorefcn -I./corefcn -I../libgnu -I../libgnu  
-D_THREAD_SAFE -I/opt/local/include \
           -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith 
-Wwrite-strings -Wcast-align -Wcast-qual -pipe -O2 -m64 -D_THREAD_SAFE -pthread 
\
          -DMAKE_BUILTINS parse-tree/oct-parse.cc > parse-tree/oct-parse.df-t
In file included from parse-tree/oct-parse.yy:80:0:
parse-tree/oct-parse.h:36:15: warning: extra tokens at end of #ifndef directive 
[enabled by default]
parse-tree/oct-parse.h:39:18: warning: missing whitespace after the macro name 
[enabled by default]
parse-tree/oct-parse.h:47:5: error: missing binary operator before token "1"
parse-tree/oct-parse.h:52:15: warning: extra tokens at end of #ifndef directive 
[enabled by default]
parse-tree/oct-parse.cc:620:42: error: missing binary operator before token "1"
parse-tree/oct-parse.cc:738:5: error: missing binary operator before token "1"
parse-tree/oct-parse.cc:904:5: error: missing binary operator before token "1"
parse-tree/oct-parse.cc:1608:5: error: missing binary operator before token "1"
parse-tree/oct-parse.cc:3592:15: warning: missing whitespace after the macro 
name [enabled by default]
make[2]: *** [parse-tree/oct-parse.df] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

The default branch is failing also.

<snip>...</snip>
ccache g++-mp-4.7 -E -DHAVE_CONFIG_H -I. -I..  \
          -I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric 
-I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators 
-I../liboctave/system -I../liboctave/util -I./octave-value -I./operators 
-Iparse-tree -I./parse-tree -Icorefcn -I./corefcn -I../libgnu -I../libgnu  
-D_THREAD_SAFE -I/opt/local/include \
           -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith 
-Wwrite-strings -Wcast-align -Wcast-qual -pipe -O2 -m64 -D_THREAD_SAFE -pthread 
\
          -DMAKE_BUILTINS corefcn/__contourc__.cc > corefcn/__contourc__.df-t
./mkdefs . corefcn/__contourc__.cc < corefcn/__contourc__.df-t > 
corefcn/__contourc__.df
In file included from parse-tree/lex.ll:98:0:
parse-tree/oct-parse.h:36:15: warning: extra tokens at end of #ifndef directive 
[enabled by default]
parse-tree/oct-parse.h:44:17: warning: missing whitespace after the macro name 
[enabled by default]
parse-tree/oct-parse.h:47:5: error: missing binary operator before token "0"
parse-tree/oct-parse.h:52:15: warning: extra tokens at end of #ifndef directive 
[enabled by default]
make[2]: *** [parse-tree/lex.df] Error 1
make[2]: *** Waiting for unfinished jobs....
rm corefcn/__contourc__.df-t
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Stable fails with ...

/opt/local/bin/g++-mp-4.7 -E -DHAVE_CONFIG_H -I. -I..  \
          -I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric 
-I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators 
-I../liboctave/system -I../liboctave/util -I./octave-value -I./operators 
-Iparse-tree -I./parse-tree -Icorefcn -I./corefcn -I../libgnu -I../libgnu  
-D_THREAD_SAFE -I/opt/local/include \
           -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith 
-Wwrite-strings -Wcast-align -Wcast-qual -pipe -O2 -m64 -D_THREAD_SAFE -pthread 
\
          -DMAKE_BUILTINS parse-tree/lex.cc > parse-tree/lex.df-t
/opt/local/bin/g++-mp-4.7 -E -DHAVE_CONFIG_H -I. -I..  \
          -I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric 
-I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators 
-I../liboctave/system -I../liboctave/util -I./octave-value -I./operators 
-Iparse-tree -I./parse-tree -Icorefcn -I./corefcn -I../libgnu -I../libgnu  
-D_THREAD_SAFE -I/opt/local/include \
           -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith 
-Wwrite-strings -Wcast-align -Wcast-qual -pipe -O2 -m64 -D_THREAD_SAFE -pthread 
\
          -DMAKE_BUILTINS corefcn/__contourc__.cc > corefcn/__contourc__.df-t
./mkdefs . corefcn/__contourc__.cc < corefcn/__contourc__.df-t > 
corefcn/__contourc__.df
In file included from parse-tree/lex.ll:96:0:
parse-tree/oct-parse.h:36:15: warning: extra tokens at end of #ifndef directive 
[enabled by default]
parse-tree/oct-parse.h:44:17: warning: missing whitespace after the macro name 
[enabled by default]
parse-tree/oct-parse.h:47:5: error: missing binary operator before token "0"
parse-tree/oct-parse.h:52:15: warning: extra tokens at end of #ifndef directive 
[enabled by default]
make[2]: *** [parse-tree/lex.df] Error 1
make[2]: *** Waiting for unfinished jobs....
rm corefcn/__contourc__.df-t
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Ben


reply via email to

[Prev in Thread] Current Thread [Next in Thread]