diff options
author | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-07-24 12:33:29 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-08-03 07:12:41 +0000 |
commit | 561ccd7ca3db39f74ee0dc3966d3c6a9234186b4 (patch) | |
tree | 7b4639848d3f194970343addf0ae398cdeadcdfb /LICENSE.GPLv3 | |
parent | d57c6611157cdcb9b27aa99cd757d05e058ac50f (diff) |
Disable #pragma diagnostic [push|pop] for gcc 4.5
Fix warnings like
qalgorithms.h:40:16: warning: expected [error|warning|ignored] after `#pragma GCC diagnostic`
As the comment below also indicates, #pragma GCC diagnostic [push|pop]
is only supported from gcc 4.6 upwards. See also the GCC 4.6
changelog: https://gcc.gnu.org/gcc-4.6/changes.html
[ChangeLog][Compiler specific Changes] GCC: Fixed a regression introduced Qt 5.5.0
that generated lots of compiler warnings in Qt public headers when using
the (deprecated) version 4.5 of GCC.
Change-Id: I425388b61cd5fbf464a0f7dd46ce403d35c532a4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'LICENSE.GPLv3')
0 files changed, 0 insertions, 0 deletions