Re: Re: gcc 3.3 warnings about strict-aliasing rules
| From: | Stefan Roehrich | Date: | Tue, 26 Aug 2003 19:32:54 +0000 |
| Subject: | Re: Re: gcc 3.3 warnings about strict-aliasing rules | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4204@lists.php.net to get a copy of this message | ||
On 2003-08-26 11:57:36, Ard Biesheuvel wrote:
> but for other (extension-specific) types as well. Maintaining a union with
> all these types would be ludicrous.
These unions would only be in the calling code, where they can be type
specific, but I don't like this solution, too.
But what's the best way then? Changing the casts from void** to void*?
Compile with -fno-strict-aliasing?
Stefan
--
Stefan Röhrich stefan@roehri.ch, sr@linux.de
http://www.roehri.ch/~sr/