[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:43:27 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=39ef56a

The following commit has been merged in the master branch:
commit 39ef56a5b78d86414b9cfff647ae5f5944fde582
Author: Robin Mills <robin at clanmills.com>
Date:   Sun Oct 14 21:22:48 2012 +0000

    Fix: Bug #859 (and #857).  Redefine EXIV2_RCSID macro for clang as empty (to eliminate warnings).
---
 src/rcsid_int.hpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/rcsid_int.hpp b/src/rcsid_int.hpp
index bac54db..6a65e79 100644
--- a/src/rcsid_int.hpp
+++ b/src/rcsid_int.hpp
@@ -52,11 +52,16 @@
          -# To avoid warnings of the type "variable declared and never used".
 
  */
+
+#ifndef  __clang__
 #define EXIV2_RCSID(id) \
     namespace { \
         inline const char* getRcsId(const char*) { return id ; } \
         const char* rcsId = getRcsId(rcsId); \
     }
+#else
+#define EXIV2_RCSID(id)
+#endif
 
 #endif // #if !defined (EXIV2_RCSID)
 #endif // #ifndef RCSID_INT_HPP_

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list