diff options
| author | James McDonnell <jmcdonnell@qnx.com> | 2016-02-11 10:10:21 -0500 |
|---|---|---|
| committer | James McDonnell <jmcdonnell@qnx.com> | 2016-06-13 00:47:13 +0000 |
| commit | d4e98a9a3856d60d52d54870af8dcefa907acf92 (patch) | |
| tree | 2232d1f24110b674289d0607b7feaaaa43077964 /qmake/doc/snippets/code | |
| parent | 50d70fd1e374d04d8c1d0d9d78b572c4650e7320 (diff) | |
Move __cpp_constexpr check inside Q_COMPILER_CONSTEXPR check
Q_COMPILER_CONSTEXPR can be undefined (or not defined at all) to
indicate that constexpr should not be used regardless of the compiler's
ability to support it. This is done for QNX because some C library
floating point functions used in the Dinkumware C++ library aren't
constexpr functions; i.e., the library doesn't have proper constexpr
support even though the compiler does.
(cherry picked from commit d87242968fc56ba09243f642ce70a85084619de0)
Change-Id: If0bdeb2180710dd9ccd97d79fa91cf9ff42f7990
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'qmake/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
