Volatile declaration (Grrrr!!!)

Fotis Andritsopoulos fandrit at telecom.ntua.gr
Wed Jan 19 17:33:23 EET 2000


Re paidia as dwsei kapoios mia ejhghsh GIATI den pernane aytes oi dyo
grammes! Exw 'faei' wres me ayto....

volatile unsigned int *AIC_p = (volatile unsigned int *) 0x0022; // Line
43
*AIC_p = 0x3ffe; // Line 44

Leei ta ejhs:

180120001314.c:44: conflicting types for `AIC_p'
180120001314.c:43: previous declaration of `AIC_p'
180120001314.c:44: warning: initialization makes pointer from integer
without a cast
180120001314.c:44: warning: data definition has no type or storage class

Epishs dokimasa kai me
*AIC_p =(unsigned int)0x3ffe;

Ti ginetai edw kai to 'kollaei' ?
@$@#$!@%$#%

fOTIS.


--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/lgu.html
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list