On Monday 29 June 2015 13:02:42 Thiago Macieira wrote:
> > Since MSVC doesn't support it we can't rely on this feature in
> > cross-platform Qt code (maybe only in QPA code).
>
> Correct.
Also, it's one of the C++11 features. It's tracked as
Q_COMPILER_THREADSAFE_STATICS and is supported in MSVC
On Monday 29 June 2015 19:44:49 Sergio Martins wrote:
> Hi,
>
>
> Can we disable gcc's feature of emitting extra code to make local static
> initialization thread safe ? (-fno-threadsafe-statics)
No.
> Since MSVC doesn't support it we can't rely on this feature in
> cross-platform Qt code (mayb
Hi,
Can we disable gcc's feature of emitting extra code to make local static
initialization thread safe ? (-fno-threadsafe-statics)
Since MSVC doesn't support it we can't rely on this feature in cross-platform
Qt code (maybe only in QPA code).
Generates uneeded code and helps hidding crashes