Adding -Wall to command line and fixing warnings.
This commit is contained in:
parent
9184c45297
commit
a68467d0fd
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
|||
compile:
|
||||
bison --verbose -d Monicelli.y
|
||||
flex -P mc Monicelli.ll
|
||||
g++ -std=c++11 -DYYDEBUG=0 Monicelli.tab.c lex.mc.c Nodes.cpp main.cpp -o mcc
|
||||
g++ -Wall -std=c++11 -DYYDEBUG=0 Monicelli.tab.c lex.mc.c Nodes.cpp main.cpp -o mcc
|
||||
rm Monicelli.tab.* lex.mc.c
|
||||
|
||||
graph:
|
||||
|
|
|
@ -12,6 +12,7 @@ using namespace monicelli;
|
|||
%}
|
||||
|
||||
%option noyywrap
|
||||
%option nounput
|
||||
|
||||
DIGIT [0-9]
|
||||
HEXDIGIT [0-9a-zA-Z]
|
||||
|
|
Reference in New Issue
Block a user