diff options
author | Niranjan Nilakantan <niranjan.nilakantan@hotmail.com> | 2023-05-24 19:48:51 (GMT) |
---|---|---|
committer | Niranjan Nilakantan <niranjan.nilakantan@hotmail.com> | 2023-05-24 19:48:51 (GMT) |
commit | e032d57642d2a042b9445b2199277bb24fee2eb5 (patch) | |
tree | c219869b0b35b3a7252f7bc6ef793e145950a286 /googletest_deps.bzl | |
parent | 45804691223635953f311cf31a10c632553bbfc3 (diff) | |
download | googletest-e032d57642d2a042b9445b2199277bb24fee2eb5.zip googletest-e032d57642d2a042b9445b2199277bb24fee2eb5.tar.gz googletest-e032d57642d2a042b9445b2199277bb24fee2eb5.tar.bz2 |
Build googletest with IntelLLVM compilers.
Use the same flags as Clang if the compiler id is IntelLLVM.
IntelLLVM warns if a double constant is assigned to a float.
```
[build] .../googletest/googletest/include/gtest/gtest-printers.h:516:17: warning: implicit conversion between floating point types of different sizes [-Wimplicit-float-size-conversion]
[build] mulfor6 = 1e1;
```
IntelLLVM uses fp-model=fast by default, breaking IsNan and IsInf tests.
Use -ffp-model=precise to fix this.
IntelLLVM does not support -Wchar-subscripts
Fixes #4255
Diffstat (limited to 'googletest_deps.bzl')
0 files changed, 0 insertions, 0 deletions