You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried this on Ubuntu 12.04
Make fails with the following output
./parse.cc:1:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
cc1plus: warning: unrecognized command line option "-Wno-unused-private-field" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-mismatched-tags" [enabled by default]
g++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I /include -I.. -DSUPPORT_UTF8=1 -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR="/usr/local/lib/sfslite-1.2" -DETCDIR="/etc/sfs" -DDATADIR="/usr/local/share/sfslite" -DPIDDIR="/var/run" -DSFSDIR="/var/sfs" -g -O2 -Wall -Werror -Wno-mismatched-tags -Wno-overloaded-virtual -Wno-unused-private-field --std=gnu++0x -Wno-error -c ./scan.cc
./scan.ll: In function ‘int yylex()’:
./scan.ll:56:8: error: ‘T_CONST’ was not declared in this scope
./scan.ll:57:8: error: ‘T_STRUCT’ was not declared in this scope
./scan.ll:58:8: error: ‘T_UNION’ was not declared in this scope
./scan.ll:59:8: error: ‘T_ENUM’ was not declared in this scope
./scan.ll:60:8: error: ‘T_TYPEDEF’ was not declared in this scope
./scan.ll:61:8: error: ‘T_PROGRAM’ was not declared in this scope
./scan.ll:62:8: error: ‘T_NAMESPACE’ was not declared in this scope
./scan.ll:64:8: error: ‘T_UNSIGNED’ was not declared in this scope
./scan.ll:65:8: error: ‘T_INT’ was not declared in this scope
./scan.ll:66:8: error: ‘T_HYPER’ was not declared in this scope
./scan.ll:67:8: error: ‘T_DOUBLE’ was not declared in this scope
./scan.ll:68:8: error: ‘T_QUADRUPLE’ was not declared in this scope
./scan.ll:69:31: error: ‘T_VOID’ was not declared in this scope
./scan.ll:71:8: error: ‘T_VERSION’ was not declared in this scope
./scan.ll:72:8: error: ‘T_SWITCH’ was not declared in this scope
./scan.ll:73:8: error: ‘T_CASE’ was not declared in this scope
./scan.ll:74:8: error: ‘T_DEFAULT’ was not declared in this scope
./scan.ll:76:31: error: ‘T_OPAQUE’ was not declared in this scope
./scan.ll:77:31: error: ‘T_STRING’ was not declared in this scope
./scan.ll:93:31: error: ‘T_ID’ was not declared in this scope
./scan.ll:95:31: error: ‘T_NUM’ was not declared in this scope
lex.yy.c: At global scope:
lex.yy.c:1438:17: warning: ‘void yyunput(int, char*)’ defined but not used [-Wunused-function]
Hi,
I tried this on Ubuntu 12.04
Make fails with the following output
./parse.cc:1:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
cc1plus: warning: unrecognized command line option "-Wno-unused-private-field" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-mismatched-tags" [enabled by default]
g++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I /include -I.. -DSUPPORT_UTF8=1 -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR="/usr/local/lib/sfslite-1.2" -DETCDIR="/etc/sfs" -DDATADIR="/usr/local/share/sfslite" -DPIDDIR="/var/run" -DSFSDIR="/var/sfs" -g -O2 -Wall -Werror -Wno-mismatched-tags -Wno-overloaded-virtual -Wno-unused-private-field --std=gnu++0x -Wno-error -c ./scan.cc
./scan.ll: In function ‘int yylex()’:
./scan.ll:56:8: error: ‘T_CONST’ was not declared in this scope
./scan.ll:57:8: error: ‘T_STRUCT’ was not declared in this scope
./scan.ll:58:8: error: ‘T_UNION’ was not declared in this scope
./scan.ll:59:8: error: ‘T_ENUM’ was not declared in this scope
./scan.ll:60:8: error: ‘T_TYPEDEF’ was not declared in this scope
./scan.ll:61:8: error: ‘T_PROGRAM’ was not declared in this scope
./scan.ll:62:8: error: ‘T_NAMESPACE’ was not declared in this scope
./scan.ll:64:8: error: ‘T_UNSIGNED’ was not declared in this scope
./scan.ll:65:8: error: ‘T_INT’ was not declared in this scope
./scan.ll:66:8: error: ‘T_HYPER’ was not declared in this scope
./scan.ll:67:8: error: ‘T_DOUBLE’ was not declared in this scope
./scan.ll:68:8: error: ‘T_QUADRUPLE’ was not declared in this scope
./scan.ll:69:31: error: ‘T_VOID’ was not declared in this scope
./scan.ll:71:8: error: ‘T_VERSION’ was not declared in this scope
./scan.ll:72:8: error: ‘T_SWITCH’ was not declared in this scope
./scan.ll:73:8: error: ‘T_CASE’ was not declared in this scope
./scan.ll:74:8: error: ‘T_DEFAULT’ was not declared in this scope
./scan.ll:76:31: error: ‘T_OPAQUE’ was not declared in this scope
./scan.ll:77:31: error: ‘T_STRING’ was not declared in this scope
./scan.ll:93:31: error: ‘T_ID’ was not declared in this scope
./scan.ll:95:31: error: ‘T_NUM’ was not declared in this scope
lex.yy.c: At global scope:
lex.yy.c:1438:17: warning: ‘void yyunput(int, char*)’ defined but not used [-Wunused-function]
Am I missing any tool?
Thanks,
Raghu.