Re: 'char **' <-> 'unsigned char **' and aliasing/punning in C / GNU C

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

 



--------- Original Message --------
From: Pedro Alves <palves@xxxxxxxxxx>
To: Ian Lance Taylor <iant@xxxxxxxxxx>
Cc: GCC Help <gcc-help@xxxxxxxxxxx>
Subject: Re: 'char **' <-> 'unsigned char **' and aliasing/punning in C /
GNU C
Date: 11/03/13 13:35

> On 03/09/2013 01:37 AM, Ian Lance Taylor wrote:
> 
> &gt; Joseph is far more likely to be right than I am.
> 
> I appreciated your help anyway.  I believe he is indeed
> right, looking at C99/N1256, 6.5/7, but I can't claim I
> grok the &quot;legalese&quot; fully.
> 
> Turns out older gccs did complain on this:
> 
>  http://sourceware.org/ml/gdb-patches/2013-03/msg00429.html
> 
> (That was CentOS 5.9, I believe gcc 4.1.2;  I'm on Fedora 17, 4.7.2).

Here on FreeBSD it is 4.2.1 and it complains :)

Andreas




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux