PixarAnimationStudios / OpenSubdiv

An Open-Source subdivision surface library.
graphics.pixar.com/opensubdiv
Other
2.89k stars 561 forks source link

Suppression of compiler warnings from GCC #1253

Closed barfowl closed 2 years ago

barfowl commented 2 years ago

These changes address compiler warnings from GCC -- most notably those arising from more recent versions of GCC that trigger warnings from OpenSubdiv's public header files, and so interfere with the compilation of client code.

The changes consist of two commits: the first addresses warnings arising from OpenSubdiv's use of -Wall and -Wextra, while the second addresses some of the additional warnings arising from -Wshadow and -Wconversion.

Warnings are addressed in the libraries, tutorials and regression tests, but not the examples or their common infrastructure.

davidgyu commented 2 years ago

Thanks, Barry!