Volatile declaration (Grrrr!!!)

Bassoukos Tassos abas at aix.meng.auth.gr
Wed Jan 19 17:55:21 EET 2000


On Wed, 19 Jan 2000, Fotis Andritsopoulos wrote:

> 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

Erm... ekana merika peiramata, kai sthn monh perisptwsh pou bgainoun ayta
ta mynhmata einai (drum roll please)... otan h deyterh grammh DEN einai
mesa se function. Afhnw to ypoloipo syllogismo ston anagnwsth.

Tassos

-- 
Bassoukos Tassos   +30 31 996011 / +30 93 7109954
 Computer Shaman and Informatics Thaumaturge

Hi! I'm a .signature virus! Copy me into your .signature to help me spread!

--
====================================================================
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