← Back to team overview

desktop-packages team mailing list archive

[Bug 1521177] Re: TEST_P fails with new G++ because of Property_CopyBaseTypeConstructor_Test::gtest_registering_dummy_' defined but not used

 

This bug was fixed in the package gtest - 1.7.0-4ubuntu1

---------------
gtest (1.7.0-4ubuntu1) xenial; urgency=medium

  * patches/test-case-p-unused-dummy-variable-fix.patch:
    -  Add GTEST_ATTRIBUTE_UNUSED_ to the dummy variable generated
       in INSTANTIATE_TEST_CASE_P (LP: #1521177).

 -- Marco Trevisan (Treviño) <marco@xxxxxxxxxx>  Mon, 30 Nov 2015
13:44:53 +0100

** Changed in: gtest (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtest in Ubuntu.
https://bugs.launchpad.net/bugs/1521177

Title:
  TEST_P fails with new G++ because of
  Property_CopyBaseTypeConstructor_Test::gtest_registering_dummy_'
  defined but not used

Status in gtest package in Ubuntu:
  Fix Released

Bug description:
  This is the error we get when compiling unity tests with new gcc:
   - '{anonymous}::Property_CopyBaseTypeConstructor_Test::gtest_registering_dummy_' defined but not used [-Werror=unused-variable]
   TEST_P(/*TestDesktopApplicationSubject*/Property, CopyBaseTypeConstructor)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtest/+bug/1521177/+subscriptions


References