[Nasm-bugs] [Bug 3392600] disable support for printf attribute on function pointers for old gcc.

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Fri Aug 16 01:13:10 PDT 2019


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

Ozkan Sezer <sezeroz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sezeroz at gmail.com

--- Comment #2 from Ozkan Sezer <sezeroz at gmail.com> ---
(In reply to H. Peter Anvin from comment #1)
> A more general patch checked in. Please verify that it solves your problem.
> Thanks!

Seems to work, although fix for bug #3392596 still needed.

Two nits:

1- The commit did the following, why?
-PA_FUNC_ATTRIBUTE(alloc_size, (1))
+PA_FUNC_ATTRIBUTE(alloc_size,[1])
+PA_FUNC_ATTRIBUTE(alloc_size,[1,2])
The first one succeeds, the second one fails.

2- AC_INIT([config/undef.h]) needs changing to
AC_INIT([config/unconfig.h]) or else configure
refuses to run (no such file.)

-- 
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