Skip to content
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

Fix gcc compilation errors #300

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix gcc compilation errors #300

wants to merge 2 commits into from

Commits on Jun 9, 2021

  1. Configuration menu
    Copy the full SHA
    8325326 View commit details
    Browse the repository at this point in the history
  2. Update googletest to fix gcc error

    Described here: google/googletest#3219
    
    /home/elsid/dev/ozo/build/pg/gcc_debug/tests/GoogleTest-prefix/src/GoogleTest/googletest/src/gtest-death-test.cc: In function ‘bool testing::internal::StackGrowsDown()’:
    /home/elsid/dev/ozo/build/pg/gcc_debug/tests/GoogleTest-prefix/src/GoogleTest/googletest/src/gtest-death-test.cc:1301:24: error: ‘dummy’ may be used uninitialized [-Werror=maybe-uninitialized]
     1301 |   StackLowerThanAddress(&dummy, &result);
          |   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
    /home/elsid/dev/ozo/build/pg/gcc_debug/tests/GoogleTest-prefix/src/GoogleTest/googletest/src/gtest-death-test.cc:1290:13: note: by argument 1 of type ‘const void*’ to ‘void testing::internal::StackLowerThanAddress(const void*, bool*)’ declared here
     1290 | static void StackLowerThanAddress(const void* ptr, bool* result) {
          |             ^~~~~~~~~~~~~~~~~~~~~
    /home/elsid/dev/ozo/build/pg/gcc_debug/tests/GoogleTest-prefix/src/GoogleTest/googletest/src/gtest-death-test.cc:1299:7: note: ‘dummy’ declared here
     1299 |   int dummy;
          |       ^~~~~
    elsid committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    4aba895 View commit details
    Browse the repository at this point in the history