Your message dated Sun, 30 Jun 2013 03:18:19 +0000
with message-id <e1ut89b-0006mw...@franck.debian.org>
and subject line Bug#710253: fixed in gtest 1.7.0~svn20130629-1
has caused the Debian Bug report #710253,
regarding libgtest-dev: GTEST_COMPILE_ASSERT_ triggers unused-local-typedef 
warning with GCC 4.8
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
710253: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710253
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libgtest-dev
Version: 1.6.0-2
Severity: normal
Tags: upstream patch
Control: block 701243 by -1

Dear Maintainer,

googletest 1.6 and earlier has GEST_COMPILE_ASSERT_ that triggers
unused-local-typedef warnings with GCC 4.8.  These are fatal for all
users of -Werror e.g. aptitude.

Attached patch is part of an upstream commit and does allow aptitude
to build ok (after patching for aptitudes own issues).  Please apply.

Regards

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information
Descripton: avoid unused-local-typedef
Origin: http://code.google.com/p/googletest/source/detail?r=643

diff --git a/include/gtest/internal/gtest-port.h b/include/gtest/internal/gtest-port.h
index f78994a..dc4fe0c 100644
--- a/include/gtest/internal/gtest-port.h
+++ b/include/gtest/internal/gtest-port.h
@@ -813,8 +813,8 @@ struct CompileAssert {
 };
 
 #define GTEST_COMPILE_ASSERT_(expr, msg) \
-  typedef ::testing::internal::CompileAssert<(bool(expr))> \
-      msg[bool(expr) ? 1 : -1]
+  typedef ::testing::internal::CompileAssert<(static_cast<bool>(expr))> \
+      msg[static_cast<bool>(expr) ? 1 : -1] GTEST_ATTRIBUTE_UNUSED_
 
 // Implementation details of GTEST_COMPILE_ASSERT_:
 //

--- End Message ---
--- Begin Message ---
Source: gtest
Source-Version: 1.7.0~svn20130629-1

We believe that the bug you reported is fixed in the latest version of
gtest, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 710...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve M. Robbins <s...@debian.org> (supplier of updated gtest package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 29 Jun 2013 21:45:45 -0500
Source: gtest
Binary: libgtest-dev
Architecture: source amd64
Version: 1.7.0~svn20130629-1
Distribution: unstable
Urgency: low
Maintainer: Steve M. Robbins <s...@debian.org>
Changed-By: Steve M. Robbins <s...@debian.org>
Description: 
 libgtest-dev - Google's framework for writing C++ tests - header files
Closes: 710253
Changes: 
 gtest (1.7.0~svn20130629-1) unstable; urgency=low
 .
   * New upstream, snapshot of upcoming v 1.7.0.
     - includes gcc 4.8 fixes.  Closes: #710253.
Checksums-Sha1: 
 ce2061decdcbc6c280826e0cbbda0321b8d8accb 1320 gtest_1.7.0~svn20130629-1.dsc
 0ee8b349bd7ff07d5585a6d5d3082b3136792ad1 370150 
gtest_1.7.0~svn20130629.orig.tar.bz2
 f11823f5fe17a37187b13764d8d02185bef03630 5330 
gtest_1.7.0~svn20130629-1.debian.tar.gz
 a8d16b65cab497075575b1593785aeee12f3b8ea 270514 
libgtest-dev_1.7.0~svn20130629-1_amd64.deb
Checksums-Sha256: 
 3fabb977070208b2af0531f4903cdd07dfe666c927333ef33148f46cbaabcbf3 1320 
gtest_1.7.0~svn20130629-1.dsc
 3b1b6e55d1fec8aa76ee41dd595d98b14a1998764b0c1348ee0d79639a123411 370150 
gtest_1.7.0~svn20130629.orig.tar.bz2
 42847f4a04ebfcf72abc99884a5435b864f2b6accccba9ea0e34b96af104f456 5330 
gtest_1.7.0~svn20130629-1.debian.tar.gz
 2be0d7981006c952afd69032db9b36587425aa9c40938228860dddbf095e978f 270514 
libgtest-dev_1.7.0~svn20130629-1_amd64.deb
Files: 
 6d7725f6ad8919e619519894f95f389f 1320 devel optional 
gtest_1.7.0~svn20130629-1.dsc
 6e7d10d03eb872ac5edd0b44d7087d0c 370150 devel optional 
gtest_1.7.0~svn20130629.orig.tar.bz2
 8053ea4deeb2a57c4b212ab492450d66 5330 devel optional 
gtest_1.7.0~svn20130629-1.debian.tar.gz
 6123b680cd1dd51aced711736d6bc3c1 270514 libdevel optional 
libgtest-dev_1.7.0~svn20130629-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iD8DBQFRz51+0i2bPSHbMcURAugEAKCotGdAIe+3quhsfLoZClcAP3fWYwCgm4gn
tizJYWpPlo4BQpeIk7cbOSk=
=J8XW
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to