[med-svn] [Git][med-team/libcereal][master] 2 commits: Fix autopkgtest regression on non x86: cc1plus: all warnings being treated as errors

Andreas Tille (@tille) gitlab at salsa.debian.org
Fri Apr 14 18:30:29 BST 2023



Andreas Tille pushed to branch master at Debian Med / libcereal


Commits:
a9a72580 by Andreas Tille at 2023-04-14T19:18:00+02:00
Fix autopkgtest regression on non x86: cc1plus: all warnings being treated as errors

- - - - -
a90d6954 by Andreas Tille at 2023-04-14T19:28:06+02:00
Upload to unstable

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/allow_unsigned_char.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,14 @@
+libcereal (1.3.2+dfsg-5) unstable; urgency=medium
+
+  * Team upload.
+
+  [ Aaron M. Ucko ]
+  * Fix autopkgtest regression on non x86: cc1plus: all warnings being
+    treated as errors
+    Closes: #1034369
+
+ -- Andreas Tille <tille at debian.org>  Fri, 14 Apr 2023 19:18:06 +0200
+
 libcereal (1.3.2+dfsg-4) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/allow_unsigned_char.patch
=====================================
@@ -0,0 +1,57 @@
+Author: "Aaron M. Ucko" <ucko at debian.org>
+Last-Update: Fri, 14 Apr 2023 09:37:59 -0400
+Bug-Debian: https://bugs.debian.org/1034369
+Description: Fix autopkgtest regression on non x86: cc1plus: all warnings being treated as errors
+
+Index: b/unittests/map.hpp
+===================================================================
+--- a/unittests/map.hpp
++++ b/unittests/map.hpp
+@@ -62,7 +62,7 @@ void test_map()
+ 
+     std::map<int8_t, StructExternalSplit> o_esplmap;
+     for(int j=0; j<100; ++j)
+-      o_esplmap.insert({random_value<char>(gen),  { random_value<int>(gen), random_value<int>(gen) }});
++      o_esplmap.insert({random_value<int8_t>(gen),  { random_value<int>(gen), random_value<int>(gen) }});
+ 
+     std::ostringstream os;
+     {
+Index: b/unittests/multimap.hpp
+===================================================================
+--- a/unittests/multimap.hpp
++++ b/unittests/multimap.hpp
+@@ -71,7 +71,7 @@ void test_multimap()
+     std::multimap<int8_t, StructExternalSplit> o_esplmultimap;
+     for(int j=0; j<100; ++j)
+     {
+-      auto key = random_value<char>(gen);
++      auto key = random_value<int8_t>(gen);
+       o_esplmultimap.insert({key,  { random_value<int>(gen), random_value<int>(gen) }});
+       o_esplmultimap.insert({key,  { random_value<int>(gen), random_value<int>(gen) }});
+     }
+Index: b/unittests/unordered_map.hpp
+===================================================================
+--- a/unittests/unordered_map.hpp
++++ b/unittests/unordered_map.hpp
+@@ -54,7 +54,7 @@ void test_unordered_map()
+ 
+     std::unordered_map<int8_t, StructExternalSplit> o_esplunordered_map;
+     for(int j=0; j<100; ++j)
+-      o_esplunordered_map.insert({random_value<char>(gen),  { random_value<int>(gen), random_value<int>(gen) }});
++      o_esplunordered_map.insert({random_value<int8_t>(gen),  { random_value<int>(gen), random_value<int>(gen) }});
+ 
+     std::ostringstream os;
+     {
+Index: b/unittests/unordered_multimap.hpp
+===================================================================
+--- a/unittests/unordered_multimap.hpp
++++ b/unittests/unordered_multimap.hpp
+@@ -71,7 +71,7 @@ void test_unordered_multimap()
+     std::unordered_multimap<int8_t, StructExternalSplit> o_esplunordered_multimap;
+     for(int j=0; j<100; ++j)
+     {
+-      auto key = random_value<char>(gen);
++      auto key = random_value<int8_t>(gen);
+       o_esplunordered_multimap.insert({key,  { random_value<int>(gen), random_value<int>(gen) }});
+       o_esplunordered_multimap.insert({key,  { random_value<int>(gen), random_value<int>(gen) }});
+     }


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 drop-google-analytics
 use_debian_packaged_rapidjson.patch
+allow_unsigned_char.patch



View it on GitLab: https://salsa.debian.org/med-team/libcereal/-/compare/42ffe4f064c412894b285322bd1fb42cf104ed4f...a90d6954699766bae35ae1d4d545002bee8a36a6

-- 
View it on GitLab: https://salsa.debian.org/med-team/libcereal/-/compare/42ffe4f064c412894b285322bd1fb42cf104ed4f...a90d6954699766bae35ae1d4d545002bee8a36a6
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20230414/f820d8c5/attachment-0001.htm>


More information about the debian-med-commit mailing list