[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: General gcc4.0 porting guide



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]