[xsd-users] "expected identifier before numeric constant" error
    Boris Kolpackov 
    boris at codesynthesis.com
       
    Sun Jun  4 05:40:02 EDT 2017
    
    
  
Hi Hing,
Hing Liu <hing.liu at gmail.com> writes:
> isocrstypes_v1.0.h:487:7: error: expected identifier before numeric constant
>        GS,
> 
> After searching around, it seems like there is preprocessor conflict to the
> enum value "GS", but I cannot see the conflict even using gcc -E option.
You can use XSD's --reserved-name option to rename it to something that
doesn't conflict.
Boris
    
    
More information about the xsd-users
mailing list