Skip to content

Comments

Fix optnone attribute warning when building with GCC#2376

Merged
LukeUsher merged 1 commit intoares-emulator:masterfrom
remutro:gcc-warnings
Jan 15, 2026
Merged

Fix optnone attribute warning when building with GCC#2376
LukeUsher merged 1 commit intoares-emulator:masterfrom
remutro:gcc-warnings

Conversation

@remutro
Copy link
Contributor

@remutro remutro commented Jan 15, 2026

This fixes the last warnings seen when compiling with GCC, which were warning: ‘optnone’ attribute directive ignored

There are still two unreachable code warnings but they are part of zstd, a dependency for libchdr. I checked the latest version of zstd and the code has not changed.

This is the last remaining problem as described in issue: #1818

@LukeUsher LukeUsher merged commit 48c611c into ares-emulator:master Jan 15, 2026
14 checks passed
@remutro remutro deleted the gcc-warnings branch January 15, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants