error compiling

David Korn dkorn@pixelpower.com
Fri Feb 2 07:44:00 GMT 2001


>Hi all
>I am getting foll error:
>numeric constant contains digits beyond the radix
>
>for the code given below:
>
>#define ABUSIVE_USAGE                   08
>#define ABUSIVE_USAGE_CAPTURE           09


  Leading zeros make the preprocessor think that you are writing an
octal number; you can't write decimal with leading zeros.  Since '8' and
'9' aren't octal digits, it gets confused.  Remove the zeros and all 
will be well.

     DaveK

-- 
The Boulder Pledge: "Under no circumstances will I ever purchase anything 
offered to me as the result of an unsolicited email message. Nor will I 
forward chain letters, petitions, mass mailings, or virus warnings to large 
numbers of others. This is my contribution to the survival of the online
community." 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


More information about the Gcc-help mailing list