Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable all warnings from sip-generated code.
As the code is entirely autogenerated we can't do anything about it. Refs #11400
- Loading branch information
1 parent
9762dfb
commit 64941ad
Showing
2 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
//------------------------------------------------------------------------------ | ||
// A wrapper for the auto-generated sipqtipart?.cpp files to disable warnings | ||
// that we can't control | ||
// that we can't control. The warnings are actually suppressed in qti.sip | ||
// with '#pragma GCC system_header' but that pragma only works if it occurs | ||
// in a file that has been included with '#include' | ||
//------------------------------------------------------------------------------ | ||
#if defined(__GNUC__) && !(defined(__INTEL_COMPILER)) | ||
#pragma GCC system_header | ||
#endif | ||
|
||
#include "sip_qtipart0.cpp" |