I am using OpenNI on OS X, and for some reason its .h files are spitting out a lot of warnings all over the place, which is annoying.
Is there a way to turn off all warnings for the OpenNI include files?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I found out that I can specify the include directories for
OpenNIusing the-isystemswitch instead of-I.-isystemmakes gcc treat the include directories as system directories, and as such it won’t generate any warnings for them.