Open kedestin opened 5 years ago
Hello,
In my case, these warnings were caused by #include "tinyply.h"
line in tinyply.cpp
I wrapped the following onto that line and no longer getting the warnings. I believe this can be used as a temporary solution.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wswitch"
#pragma GCC diagnostic ignored "-Wunused-variable"
#pragma GCC diagnostic ignored "-Wsign-compare"
#include "tinyply.h"
#pragma GCC diagnostic pop
Hey, thanks for the the great library.
Compiling the with
-Wall -Wextra -Wpedantic -Wshadow
shows the following warningsWould it be possible to remedy these?