Problem in gcc-2.95

Jeffrey A Law lawATcygnus.com
Fri Oct 1 00:00:00 GMT 1999


  In message < 7ro2i2$9ek$1@nnrp1.deja.com >you write:
  > Hi,
  > 
  >   I have a declaration
  > 
  >      char asd[5][5] = { "A", "B", "C" };
  > 
  >   My compilation command is
  > 
  >      gcc -fwritable-strings cc2.c
  > 
  > 
  > When I compile this with gcc-2.8.1, there are no warnings or errors. The
  > first element of the first three rows are initialized with 'A', 'B', and
  > 'C' respectively.
  > 
  > However, when I compile this with gcc-2.95 I get the following error(s)
It's a bug in gcc-2.95 and is expected to be fixed for gcc-2.95.2.
jeff



More information about the Gcc-help mailing list