bug-apl
[Top][All Lists]
Advanced

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

Build 1374: one warning left on Mac OS X


From: Louis Chretien
Subject: Build 1374: one warning left on Mac OS X
Date: Thu, 10 Dec 2020 14:02:34 -0500

With SVN 1374, there’s only one warning left:

g++ -DHAVE_CONFIG_H -I. -I..    -Wall -I sql         -g -O2 -MT apl-Value.o -MD -MP -MF .deps/apl-Value.Tpo -c -o apl-Value.o `test -f 'Value.cc' || echo './'`Value.cc
Value.cc:629:46: warning: source of this 'memcpy' call is a pointer to dynamic class 'Cell'; vtable pointer will be copied
      [-Wdynamic-class-memaccess]
   memcpy(reinterpret_cast<void *>(doubled), ravel, 2*old_rows*sizeof(Cell));
   ~~~~~~                                    ^
Value.cc:629:46: note: explicitly cast the pointer to silence this warning
   memcpy(reinterpret_cast<void *>(doubled), ravel, 2*old_rows*sizeof(Cell));
                                             ^
                                             (void*)
1 warning generated.
mv -f .deps/apl-Value.Tpo .deps/apl-Value.Po

---
Louis Chrétien





reply via email to

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