Skip to content

Minor fixes to avoid annoying compilation-time warnings whenever any …#1072

Merged
AngusJohnson merged 1 commit intoAngusJohnson:mainfrom
jfriesne:jaf-fix-compiler-warnings
Mar 5, 2026
Merged

Minor fixes to avoid annoying compilation-time warnings whenever any …#1072
AngusJohnson merged 1 commit intoAngusJohnson:mainfrom
jfriesne:jaf-fix-compiler-warnings

Conversation

@jfriesne
Copy link
Copy Markdown
Contributor

@jfriesne jfriesne commented Mar 4, 2026

I'm compiling my program (that uses Clipper2) using Apple's clang++, with lots of warnings enabled, i.e. with flags including these:

    -Wbool-conversion
    -Wpedantic
    -Winconsistent-missing-destructor-override
    -Wundef

.... and as a result of that, when I compile any of my .cpp files that #include the Clipper2 header files, I get a few warnings about the code in the headers (as seen in the attached file). They are pretty minor issues, but I'm trying to get my compile-logs to be as warning-free as possible so it would be nice if the headers got fixed so that the warnings do not occur.

clipper2_compile_time_warnings.txt

@AngusJohnson AngusJohnson merged commit 46f6391 into AngusJohnson:main Mar 5, 2026
7 checks passed
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