bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Another trivial g++ 8.1.1 incompatibility


From: Chris Moller
Subject: [Bug-apl] Another trivial g++ 8.1.1 incompatibility
Date: Sat, 21 Jul 2018 11:05:45 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

This is the same as the last batch--don't know how I  missed it the first time:


Index: Svar_DB.cc
===================================================================
--- Svar_DB.cc  (revision 1055)
+++ Svar_DB.cc  (working copy)
@@ -316,7 +316,8 @@
                                                del, log);
    if (response)
       {
-        memcpy(&cache, response->get__SVAR_RECORD_IS__record().data(),
+        memcpy(static_cast <void *>(&cache),
+              response->get__SVAR_RECORD_IS__record().data(),
                sizeof(Svar_record));
         delete response;
       }


reply via email to

[Prev in Thread] Current Thread [Next in Thread]