Skip to content

Fix GCC warnings for samples - #164

Open
OMGPizzaGuy wants to merge 2 commits into
CxxTest:masterfrom
OMGPizzaGuy:sample-warning-fixes
Open

Fix GCC warnings for samples#164
OMGPizzaGuy wants to merge 2 commits into
CxxTest:masterfrom
OMGPizzaGuy:sample-warning-fixes

Conversation

@OMGPizzaGuy

Copy link
Copy Markdown

Fixes GCC build for sample/Makefile.unix as it uses flags: -Wall -W -Werror

The ValueTraits.h commit comes from changes made in scummvm:
scummvm/scummvm@f2f6416

ValueTraits.h:120:52: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
…tion type

ValueTraits.cpp:130:45: error: arithmetic between floating-point type ‘double’ and enumeration type ‘CxxTest::ValueTraits<const double>::<unnamed enum>’ is deprecated [-Werror=deprecated-enum-float-conversion]
@OMGPizzaGuy
OMGPizzaGuy force-pushed the sample-warning-fixes branch from b065c3a to 853295b Compare June 15, 2026 18:33
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.

1 participant