|
From: <p1...@ja...> - 2011-02-20 20:30:33
|
When compiling Nasm 2.10rc3 on Fedora 14 with gcc 4.5.1 the following warnings are generated: assemble.c: In function ‘assemble’: assemble.c:514:21: warning: case value ‘27’ not in enumerated type ‘enum prefixes’ assemble.c:521:21: warning: case value ‘49’ not in enumerated type ‘enum prefixes’ assemble.c:528:21: warning: case value ‘57’ not in enumerated type ‘enum prefixes’ assemble.c:535:21: warning: case value ‘60’ not in enumerated type ‘enum prefixes’ assemble.c:538:21: warning: case value ‘61’ not in enumerated type ‘enum prefixes’ assemble.c:548:21: warning: case value ‘110’ not in enumerated type ‘enum prefixes’ assemble.c:549:21: warning: case value ‘111’ not in enumerated type ‘enum prefixes’ assemble.c:541:21: warning: case value ‘116’ not in enumerated type ‘enum prefixes’ parser.c: In function ‘prefix_slot’: parser.c:76:5: warning: case value ‘27’ not in enumerated type ‘enum prefixes’ parser.c:77:5: warning: case value ‘49’ not in enumerated type ‘enum prefixes’ parser.c:79:5: warning: case value ‘57’ not in enumerated type ‘enum prefixes’ parser.c:80:5: warning: case value ‘60’ not in enumerated type ‘enum prefixes’ parser.c:81:5: warning: case value ‘61’ not in enumerated type ‘enum prefixes’ parser.c:78:5: warning: case value ‘116’ not in enumerated type ‘enum prefixes’ Aside from the warning messages themselves which should be easily corrected, the interesting thing is that the values 110 and 111 appear in assemble.c but not parser.c? Are these missing case statements or is parser.c correct as is? I'm not familiar enough with the source to provide any more input that this, sorry. |