General gcc4.0 porting guide

Ralf Ertzinger fedora at camperquake.de
Fri Apr 29 11:56:04 UTC 2005


Hi.

Is there a general document showing common pitfalls when compiling a
package with gcc4.0 (and how to resolve them)?

For example, what is the "right" way to deal with this:

int* foo;

[...]
((short int*)foo)++;  // gcc4 does not like this.

-- 
The person who can smile when something goes wrong has thought of
someone they can blame it all on.




More information about the fedora-extras-list mailing list