The definition should be turned around as clang defines __GNUC__ itself (in my case for clang++18 to __GNUC__ == 4, probably to be underneath a valid gcc version).
More an esthetic PR as clang is able to handle the _Pragma("GCC ...") too.
coverage: 72.674%. remained the same
when pulling 5b0053be3cbbdde510223236d4136779ffe6013f on ralfkonrad:bugfix/clang_deprection_error
into fb835109c8103776db52c4d4552fa69181de458e on lballabio:master.
The definition should be turned around as
clang
defines__GNUC__
itself (in my case forclang++18
to__GNUC__ == 4
, probably to be underneath a validgcc
version).More an esthetic PR as
clang
is able to handle the_Pragma("GCC ...")
too.