|
|
Log in / Subscribe / Register

grsecurity: Teardown of a Failed Linux LTS Spectre Fix

grsecurity: Teardown of a Failed Linux LTS Spectre Fix

Posted Sep 4, 2019 12:57 UTC (Wed) by niner (guest, #26151)
In reply to: grsecurity: Teardown of a Failed Linux LTS Spectre Fix by Paf
Parent article: grsecurity: Teardown of a Failed Linux LTS Spectre Fix

From gcc(1): "Warn when a declaration is found after a statement in a block. This construct, known from C++, was introduced with ISO C99 and is by default allowed in GCC. It is not supported by ISO C90."

So old C versions required all declarations to appear first in a block. C++ removed that requirement and the ISO standards committee backported that relaxation of the rules to C99.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds