[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: General gcc4.0 porting guide
- From: Miloslav Trmac <mitr volny cz>
- To: Discussion related to Fedora Extras <fedora-extras-list redhat com>
- Subject: Re: General gcc4.0 porting guide
- Date: Fri, 29 Apr 2005 14:12:25 +0200
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]