[Nasm-bugs] [Bug 3392615] watcom updates
noreply-nasm at dev.nasm.us
noreply-nasm at dev.nasm.us
Mon Jul 6 13:14:35 PDT 2020
https://bugzilla.nasm.us/show_bug.cgi?id=3392615
--- Comment #7 from H. Peter Anvin <hpa at zytor.com> ---
I have applied the updated patch #1.
Patch #2 really is too ugly, however, the noreturn feature is just an
optimization. Does Watcom support _Pragma(), as opposed to #pragma?
In that case, it might be possible to define something like:
#ifdef __WATCOMC__
# define fatal_func(x) _Pragma(aux x aborts); void x
#else
# define fatal_func(x) no_return unlikely_func
#endif
... and use fatal_func(funcname)(arguments...)
... in the declaration.
Otherwise, maybe it has __declspec() for compatibility with MSC?
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
More information about the Nasm-bugs
mailing list