Re: [Evolution-hackers] gcc 4.4 may be causing a number of bugs in Evolution
- From: Jeffrey Stedfast <fejj novell com>
- To: Matthew Barnes <mbarnes redhat com>
- Cc: evolution-hackers gnome org
- Subject: Re: [Evolution-hackers] gcc 4.4 may be causing a number of bugs in Evolution
- Date: Tue, 02 Feb 2010 14:30:39 -0500
Matthew Barnes wrote:
> On Tue, 2010-02-02 at 12:27 -0500, Paul Smith wrote:
>
>> Anyway, I agree with you that if Evo makes use of this type of aliasing
>> then we should definitely add that flag to the default makefile flags.
>> Configure can check for it and use it if present.
>>
>
> Done. Although, I imagine many distros have already disabled strict
> aliasing optimization due to all the compiler warnings we used to have
> about it.
>
> If GCC or even LLVM ever learns to detect cases like what Jeff ran into
> and -warn- about them, I'd love to know about it so I can it to our
> already lengthy list of warning flags we build with by default now.
>
If you want to get warnings about the aliasing stuff, it seems that
-Wstrict-aliasing=2 is the one you want.
Hope that helps,
Jeff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]