> This is having the unfortunate side effect that a lot of packages that > used to compile perfectly fine with gcc-3 are no longer doing so with > gcc-4.
The major Linux distributions use GCC 4.x so this should be doable. > Here's another example I'm finding: > > Constructs of the form > > extern enum vtype iftovt_tab[]; > > are now failing with forgiving > > error: array type has incomplete element type > > This would be fine if it was code that I controlled - but the matter > of fact is that this code is in /usr/include/sys/mode.h, which comes > bundled with solaris 10, and the upshot is that I'm going to have to > somehow hack solaris headers in order to make gcc-4.3.2 be able to > compile perl-5.10.0. This should be fix-included if it's really a bug in the Solaris headers. -- Eric Botcazou