Open mnil opened 1 year ago
Same issue here with latest QNX (gcc 8.3.0 based) under Windows with CMake
QNX isn't officially supported. We would like a patch from the community to fix this issue.
Same issue here with latest QNX (gcc 8.3.0 based) under Linux with CMake
Same issue using latest google-test V1.14.0 with QNX 7.1 qcc 8.3.0 under Windows 10 with CMake. Downgrading to google-test V1.11.0 seems to fix the issue for me.
Describe the bug
During an uplift of our gtest version we got compilation failures for our QNX compiler but not for gcc or clang. I bisected it to this commit: https://github.com/google/googletest/commit/0498660ea575bfeb4b3b0879fa6aa6904d1df373 by @jacobsa.
Steps to reproduce the bug
The following works on gcc and clang but not on QNX 7:
Changing
.WillOnce()
to.WillRepeatedly()
makes it compile on all our platforms.Does the bug persist in the most recent commit?
Verified that it fails on: bea621c3c39d8a7f71f07bd543c3a58bfa684f92
What operating system and version are you using?
Ubuntu 18.04.
What compiler and version are you using?
QNX 7.
What build system are you using?
Bazel 5.1.1.
Additional context
BUILD.bazel
Error message: