Problem declaring struct and union

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hi together,



my name is steffen and I use the gcc 3.4.4.

I have got the following code and I don`t understand why it will not be complied.



struct INTC_tag {

     union {

          VUINT32 R;

          struct {

               VUINT32:26;

               VUINT32 VTES:1;

               VUINT32:4;

               VUINT32 HVEN:1;

          } B;

     } MCR;

};

The error is:

warning: no semicolon at end of struct or union

error: parse error before numeric constant



Can anyone help me please ?!



Thanks



Steffen

______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!		
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux