Skip to content

Commit

Permalink
Suppress some asm warnings when building compiler output
Browse files Browse the repository at this point in the history
  • Loading branch information
totalspectrum committed Nov 17, 2024
1 parent 445170c commit cb2ee72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Version 7.0.0
- Made _float_tointeger() saturate when the result is too big/small
- Made off_t be 64 bits, to allow for files > 2GB
- Revised file systems to all read from devices; this makes it possible to do loopback file systems or to use non-standard devices for file systems
- Suppress some asm warnings when building assembler output

Version 6.9.10
- Fix compilation error when GETWORD is replaced by MOV or MUL
Expand Down
2 changes: 1 addition & 1 deletion cmdline.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ int ProcessCommandLine(CmdLineOptions *cmd)
}
if (cmd->compile) {
gl_caseSensitive = !compile_original;
gl_warn_flags &= ~WARN_ASM_FIRST_PASS; // already issued warnings
gl_warn_flags &= ~(WARN_ASM_FIRST_PASS|WARN_ASM_USAGE); // already issued warnings
gl_optimize_flags = 0; // no need to re-optimize
gl_cenv_flags = 0; // already handled C startup code
CompileAsmToBinary(binname, asmname);
Expand Down

0 comments on commit cb2ee72

Please sign in to comment.