Skip to content

compiler warnings with Visual Studio 2017 due to gtest #51

Closed

Description

@dirk-thomas

E.g.:

console_bridge\test\gtest\include\gtest/gtest-printers.h(500):
warning C4996: 'std::tr1': warning STL4002:
The non-Standard std::tr1 namespace and TR1-only machinery are deprecated and will be REMOVED. You can define _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING to acknowledge that you have received this warning.

The warnings have been fixed upstream so pulling a newer version of the googletest code will likely solve this.

Activity

  1. scpeters commented on Jan 26, 2018

    @scpeters
    Contributor

    @dirk-thomas what compiler flags do you use on windows for warnings? I'm testing a fix on my windows VM, but I don't see any warnings on the master branch, so I probably need to enable them.

  2. dirk-thomas commented on Jan 26, 2018

    @dirk-thomas
    MemberAuthor

    We only build the package with the defaults (cmake, make, make install) afaik. The referenced build (http://ci.ros2.org/job/test_ci_win/19/) might contain the information you are looking for.

  3. dirk-thomas commented on Jan 26, 2018

    @dirk-thomas
    MemberAuthor

    We can also retrigger the job with a potential fix on a branch to check if it addresses the warnings.

  4. scpeters commented on Jan 27, 2018

    @scpeters
    Contributor

    I've added VS 2017 to our appveyor build in #53 and it is marked to fail on any compiler warnings. We'll see if appveyor can reproduce the warning because I've been having trouble doing it on my virtual machine

  5. scpeters commented on Jan 27, 2018

    @scpeters
    Contributor

    appveyor confirms the failure in #53

    I'm updating my VS 2017 software on my VM, since it is apparently out of date

  6. scpeters commented on Jan 29, 2018

    @scpeters
    Contributor

    I believe #54 will fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions