CHILL warning question ... (grant.c & typeck.c spots)
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Tue Sep 29 18:59:00 GMT 1998
> From: Dave Brolley <brolley@cygnus.com>
>
> Kaveh R. Ghazi wrote:
>
> > PS: Similar issues occur in ch/grant.c and ch/typeck.c.
>
> I need you to point out the particular instances in question.
> Dave
Okay, the specific lines in grant.c and typeck.c are below.
Thanks,
--Kaveh
---------------------------
grant.c: In function `decode_decl_selective':
grant.c:2508: warning: enumeration value `__DUMMY' not handled in switch
[...]
grant.c:2508: warning: case value `29' not in enumerated type `chill_tree_code'
grant.c:2508: warning: case value `31' not in enumerated type `chill_tree_code'
grant.c:2508: warning: case value `32' not in enumerated type `chill_tree_code'
grant.c:2508: warning: case value `33' not in enumerated type `chill_tree_code'
grant.c:2508: warning: case value `36' not in enumerated type `chill_tree_code'
---------------------------
grant.c: In function `really_grant_this':
grant.c:2792: warning: enumeration value `__DUMMY' not handled in switch
[...]
grant.c:2792: warning: case value `29' not in enumerated type `chill_tree_code'
grant.c:2792: warning: case value `31' not in enumerated type `chill_tree_code'
grant.c:2792: warning: case value `32' not in enumerated type `chill_tree_code'
grant.c:2792: warning: case value `33' not in enumerated type `chill_tree_code'
---------------------------
typeck.c: In function `chill_resulting_class':
typeck.c:2039: warning: enumeration value `CH_NULL_CLASS' not handled in switch
typeck.c:2039: warning: enumeration value `CH_REFERENCE_CLASS' not handled in switch
---------------------------
typeck.c:2055: warning: enumeration value `CH_NULL_CLASS' not handled in switch
typeck.c:2055: warning: enumeration value `CH_REFERENCE_CLASS' not handled in switch
---------------------------
typeck.c:2071: warning: enumeration value `CH_NULL_CLASS' not handled in switch
typeck.c:2071: warning: enumeration value `CH_REFERENCE_CLASS' not handled in switch
---------------------------
typeck.c:2072: warning: enumeration value `CH_NULL_CLASS' not handled in switch
typeck.c:2072: warning: enumeration value `CH_REFERENCE_CLASS' not handled in switch
---------------------------
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Icon CMT Corp.
More information about the Gcc
mailing list