[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] strict aliasing
From: |
Dmitry Timoshkov |
Subject: |
Re: [ft-devel] strict aliasing |
Date: |
Wed, 11 Nov 2015 16:55:48 +0800 |
Werner LEMBERG <address@hidden> wrote:
> My preferred solution would be to use something similar to the fix in
> issue #27441, given that unions is not the right way to go for C++,
> according to advice I've seen in the internet – and I want to preserve
> the ability that a C++ compiler can compile FreeType.
Probably a most easy and effective "fix" for this kind of bugs is to add
-fno-strict-aliasing flag, just like other system level libraries do.
--
Dmitry.