1

Is there a way to exclude compiler warnings for 3rd party libraries, i.e. Qt and other external libraries ("external" in this context means "not my source code").

I do not want to disable a certain warning type (I know how to do so), but only see warnings for my code.

In an answer here I have found an approach to surround external libs by #pragma , only I need a gcc and vc++ compliant solution. Are there any better alternatives for Qt Creator?

2
  • 1
    I think you will find the answer here : stackoverflow.com/questions/4199505/… Commented Apr 6, 2015 at 21:14
  • Looks good for gcc, need to find the corresponding option for vc++ Commented Apr 6, 2015 at 21:32

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.