mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -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:
parent
bc2108b940
commit
1d72743d6b
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue