Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NASM warning about %undef statement #3329

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

FreezyLemon
Copy link
Contributor

My local version of NASM (2.16.01) produces some warnings when compiling:

warning: trailing garbage after macro name ignored [-w+pp-trailing]
/.../sse.asm:444: ... from macro `WEIGHTED_SSE' defined here

Looks like the %undef sum, kernel_width, res only undefines sum and ignores everything after that. res doesn't seem to exist (anymore), so I removed it from the %undefs.

Copy link

codecov bot commented Jan 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (585b244) 88.53% compared to head (c3a3db1) 88.53%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3329   +/-   ##
=======================================
  Coverage   88.53%   88.53%           
=======================================
  Files          89       89           
  Lines       28330    28330           
=======================================
  Hits        25082    25082           
  Misses       3248     3248           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

NASM warns that everything after the first argument is ignored,
so each %undef needs its own line. There seems to be no
res macro, so I removed the %undef for it.
@barrbrain barrbrain merged commit 7f5d35c into xiph:master Jan 12, 2024
@FreezyLemon FreezyLemon deleted the fix-nasm-warnings branch January 12, 2024 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants