https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101446
--- Comment #6 from İsmail Dönmez <ismail at i10z dot com> --- (In reply to Richard Biener from comment #4) > -Wpedantic was added as fix for PR44774 to make -Werror=pedantic work > (as opposed to -Werror=edantic) The problem is that it's inconsistent, here is a list of other -Wpedantic warnings that do not result in an error: ISO C does not support the '_Float128' type [-Wpedantic] ISO C does not support the '_Float32' type [-Wpedantic] ISO C does not support the '_Float32x' type [-Wpedantic] ISO C does not support the '_Float64' type [-Wpedantic] ISO C does not support the '_Float64x' type [-Wpedantic] ISO C does not support the ‘_Float128’ type [-Wpedantic] ISO C does not support the ‘_Float32x’ type [-Wpedantic] ISO C does not support the ‘_Float32’ type [-Wpedantic] ISO C does not support the ‘_Float64x’ type [-Wpedantic] ISO C does not support the ‘_Float64’ type [-Wpedantic] ISO C forbids 'goto *expr;' [-Wpedantic] ISO C forbids 'return' with expression, in function returning void [-Wpedantic] ISO C forbids an empty translation unit [-Wpedantic] ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] ISO C forbids braced-groups within expressions [-Wpedantic] ISO C forbids conditional expr with only one void side [-Wpedantic] ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] ISO C forbids empty initializer braces [-Wpedantic] ISO C forbids forward references to 'enum' types [-Wpedantic] ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] ISO C forbids label declarations [-Wpedantic] ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] ISO C forbids passing argument 1 of '_dl_addr' between function pointer and 'void *' [-Wpedantic] ISO C forbids return between function pointer and 'void *' [-Wpedantic] ISO C forbids specifying range of elements to initialize [-Wpedantic]