-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error when using g++ 11.2.0 with release-1.10.0 #3835
Labels
Comments
We do not plan to patch 1.10 other than for exceptional circumstances, such as security issues. Please try using a newer version of GoogleTest. |
runejuhl
added a commit
to runejuhl/pgp-packet-library
that referenced
this issue
Jul 7, 2022
Fixes compilation error when compiling with g++ 11.2.0 or above; see google/googletest#3835.
runejuhl
added a commit
to runejuhl/pgp-packet-library
that referenced
this issue
Jul 7, 2022
Fixes compilation error when compiling with g++ 11.2.0 or above; see google/googletest#3835.
Resolved by 4679637 |
proatgram
added a commit
to proatgram/securemessage
that referenced
this issue
May 15, 2023
Fixes build issue with googletest documented in [this issue](google/googletest#3835) where the build would fail with a maybe uninitialized error. This commit should bring the changes that fixed the issue in gtest to the submodule in this repository.
This was referenced May 15, 2023
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
This CMake project fails in compilation when g++ 11.2.0 is used (default g++ in Ubuntu 22.04) with version release-1.10.0
It fails for a uninitialized variable.
Steps to reproduce the bug
release-1.10.0
The following error arises:
Does the bug persist in the most recent commit?
It does not. But we use version release-1.10.0 due to some errors that we encountered when updating to new versions.
What operating system and version are you using?
Ubuntu 22.04 LTS
What compiler and version are you using?
g++ (Ubuntu 11.2.0-19ubuntu1) 11.2.0
What build system are you using?
cmake version 3.22.1
We are using
colcon
, ROS 2 superbuild tool.https://colcon.readthedocs.io/en/released/
Additional context
The fix is very simple, and if your team give me positive feedback I could prepare a PR to fix it.
The text was updated successfully, but these errors were encountered: