Re: [PATCH] libstdc++: Work around clang misdesign in time_get<>::get [PR104990]

2022-03-21 Thread Jonathan Wakely via Gcc-patches
On Mon, 21 Mar 2022 at 06:42, Jakub Jelinek wrote: > > Hi! > > Apparently clang has a -fgnuc-version= option which allows it to pretend > it is any GCC version the user likes. It is already bad that it claims to > be GCC 4.2 compatible by default when it is not (various unimplemented > extensions

[PATCH] libstdc++: Work around clang misdesign in time_get<>::get [PR104990]

2022-03-20 Thread Jakub Jelinek via Gcc-patches
Hi! Apparently clang has a -fgnuc-version= option which allows it to pretend it is any GCC version the user likes. It is already bad that it claims to be GCC 4.2 compatible by default when it is not (various unimplemented extensions at least), but this option is a horrible idea. Anyway, this pat