GHS compiler doesn't support signaling NaNs for double
- has_signaling_NaN returns TRUE by mistake, will be fixed in future compiler releases. Task-number: QTBUG-99123 Pick-to: 6.2 6.3 Change-Id: I3f2af7b5328b49d7ceffa548461d1d6bf72ba7ed Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
ba48e1b809
commit
df0b092d08
@ -225,7 +225,11 @@ qt_config_compile_test("separate_debug_info"
|
||||
qt_config_compile_test(signaling_nan
|
||||
LABEL "Signaling NaN for doubles"
|
||||
CODE
|
||||
"#include <limits>
|
||||
"#if defined(__ghs) && (__GHS_VERSION_NUMBER <= 202014)
|
||||
# error Signal NaNs are not supported by GHS compiler, but has_signaling_NaN returns TRUE. Will be fixed in future compiler releases.
|
||||
#endif
|
||||
|
||||
#include <limits>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user