diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2015-08-21 13:58:39 -0700 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-08-25 01:08:42 +0000 |
| commit | ad080fa3113b4898cb9f9437df9d42627fbc3638 (patch) | |
| tree | bcc179d937c10ad151adcf3b42aae67e6c039f59 /qmake/doc/snippets/code | |
| parent | 1977855f3115ab9ad1642b522840ff3424a5f2fe (diff) | |
Fix compilation with ICC on Windows
Unlike MSVC, ICC *does* support constexpr, but on Windows it will not
define __GNUC__, so we ended up in the multi-line alternative. That is
not permitted in C++11, only in C++14.
qalgorithms.h(659): error: statement may not appear in a constexpr function
Change-Id: I7de033f80b0e4431b7f1ffff13fc96245ee9a846
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'qmake/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
