mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-10-10 00:25:06 -04:00
Disable other warnings in endstruc
endstruc calls __?SECT?__ and this causes unnecessary warnings on obj output if a section is defined with any attributes, because obj output does not like a segment definition with any attributes when it appears again. Signed-off-by: KO Myung-Hun <komh78@gmail.com>
This commit is contained in:
committed by
H. Peter Anvin
parent
bc2108b940
commit
1d72743d6b
@@ -59,7 +59,10 @@ STD: nasm
|
||||
%imacro endstruc 0.nolist
|
||||
%{$strucname}_size equ ($-%$strucname)
|
||||
%pop
|
||||
[warning push]
|
||||
[warning -other]
|
||||
__?SECT?__
|
||||
[warning pop]
|
||||
%endmacro
|
||||
|
||||
%imacro istruc 1.nolist
|
||||
|
Reference in New Issue
Block a user