Hello all

In the adc12.h standard header file there is the following definition:

#define CSTARTADD_8         08*0x1000

Unfortunately if you try and use this definition it breaks GCC with the 
following message:
"numeric constant contains digits beyond the radix"

This is because the leading zero on the '08' causes GCC to think it is an octal 
number and then complains 
when we try and put 8 into an octal number - quite understandably. Can the 
person responsible for 
maintaining these header files please remove the leading zeroes in these (and 
other definitions) ?

Thanks.

Colin

-------------------------------------------------------
Colin Domoney                                  
Digital Hardware Design Engineer
NCipher, Jupiter House, Station Road, Cambridge, CB1 2JD
e-mail: [email protected]
Telephone: +44-1223-723630

Reply via email to