problem using gcc-3.4.2 @ FC3

Gavin Li gavinl at optech.ca
Fri Oct 21 16:52:36 UTC 2005


I have some structures defined as:

typedef struct {
  unsigned char ID __attribute__ ((packed)) ;
  CALIB_ASC asc  __attribute__ ((packed)) ;
}  ASC __attribute__ ((packed)) ;

when I compiled the c source file, gcc send warning packed is ignored.
There is no warning when use gcc -2.95.x



Another problem the option -fvolatile is not supported in gcc-3.4.2, what is
the equivalent to do that?




More information about the fedora-list mailing list