cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: autobuild ignore system

From: Guenter Knauf <eflash_at_gmx.net>
Date: Fri, 2 Jul 2004 14:19:15 +0200

Hi Daniel,
I'm just fighting with new warnings coming up with gcc 3.3 and later if you use -O2:

dereferencing type-punned pointer will break strict-aliasing rules

see also thread http://lists.freebsd.org/pipermail/freebsd-current/2003-July/007559.html

I've just uploaded such a build to show it;

I've checked some other builds, and some are build without any -O, others with -O2, so what should I do?

remove -O2, or kill the warning with -Wno-strict-aliasing ??

Guenter.
Received on 2004-07-02