Hi All,

Sorry I was stupid. There was a compare to check UART0_TH1 value is 
bigger than 256. If it is bigger there was an #error message, but I try 
to write the value  before it  :

  #if UART0_TH1 > 256L
             UART0_TH1
             #error "SCLK_MIN"
#endif

and the compiler stops the first element of UART0_TH1.

Are there any other method to write a value in #error macro?

-- 
  thx,
----------------------------------
Zoltan Zidarics programmer
PTE-PMMFK H-7621 Pecs, Boszorkany u. 2. Hungary
E-Mail: za...@vili.pmmf.hu
----------------------------------
       


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to