bug-apl
[Top][All Lists]
Advanced

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

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


From: Juergen Sauermann
Subject: Re: [Bug-apl] 2 more clang Warnings + 3 similar ones
Date: Sat, 19 Apr 2014 14:38:36 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Peter,

thanks, fixed in SVN 215.

/// Jürgen


On 04/19/2014 02:57 AM, Peter Teeson wrote:
../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]