General gcc4.0 porting guide
Miloslav Trmac
mitr at volny.cz
Fri Apr 29 12:12:25 UTC 2005
On Fri, Apr 29, 2005 at 01:56:04PM +0200, Ralf Ertzinger wrote:
> Hi.
>
> Is there a general document showing common pitfalls when compiling a
> package with gcc4.0 (and how to resolve them)?
There are change descriptions on gcc.gnu.org.
> For example, what is the "right" way to deal with this:
>
> int* foo;
>
> [...]
> ((short int*)foo)++; // gcc4 does not like this.
foo = (short int *)(foo + 1);
Mirek
More information about the fedora-extras-list
mailing list