> If we just do not want to see the warnings, then we can do some compilation test in cmake.

i agree it would be better if it's possible.
i'm not going to do it by myself because i'm not familiar with cmake, though.

YAMAMOTO Takashi