[Nasm-bugs] [Bug 3392596] PA_FUNC_ATTRIBUTE: handle compilers with no support for -Werror=attributes

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Mon Jul 6 12:55:50 PDT 2020


https://bugzilla.nasm.us/show_bug.cgi?id=3392596

--- Comment #10 from H. Peter Anvin <hpa at zytor.com> ---
My concern is that there is a serious risk to upgrade a nuisance warning to an
error on some platforms, or fail to use attributes properly because of emitting
a warning that has nothing to do with the attributes. There are also warnings
with gcc 3.4 about unused #pragmas and so on.

I guess I could simply eliminate the use attributes entirely if
-Werror=attributes isn't supported, although that isn't a great option either.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.


More information about the Nasm-bugs mailing list