bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] 2 more clang Warnings + 3 similar ones


From: Peter Teeson
Subject: [Bug-apl] 2 more clang Warnings + 3 similar ones
Date: Fri, 18 Apr 2014 20:57:32 -0400

../apl-svn/src/Token.cc:545:11: 5 enumeration values not handled in switch: 
'TC_L_CURLY', 'TC_R_CURLY', 'TC_MAX_PHRASE_2'…
../apl-svn/src/Token.cc:601:11: 5 enumeration values not handled in switch: 
'TC_L_CURLY', 'TC_R_CURLY', 'TC_MAX_PHRASE_2'…

Should there be a default label in the switch?
You return a char string in both of these cases when falling through.

respect….

Peter
P.S. In fact there are 3 more Warnings of the same type.

../apl-svn/src/Avec.cc:281:11: 18 enumeration values not handled in switch: 
'UNI_iPAD_U2', 'UNI_iPAD_U3', 'UNI_iPAD_U1'...
..L/apl-svn/src/Executable.cc:455:23: 156 enumeration values not handled in 
switch: 'TOK_NEWLINE', 'TOK_NUMERIC', 'TOK_SYMBOL'…
../apl-svn/src/PrimitiveFunction.cc:2887:16: 310 enumeration values not handled 
in switch: 'UNI_ASCII_NUL', 'UNI_ASCII_SOH', 'UNI_ASCII_STX'...


respect…

Peter


reply via email to

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