[Top][All Lists]

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

SVN 1423 warning on Mac OS

From: Louis Chretien
Subject: SVN 1423 warning on Mac OS
Date: Sat, 30 Jan 2021 12:32:23 -0500

From the latest SVN, 1423:

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:923:23: warning: source of this 'memcpy' call is a pointer to dynamic class 'Cell'; vtable pointer will be
      copied [-Wdynamic-class-memaccess]
         memcpy(dest, member_data_cell, sizeof(Cell));
         ~~~~~~       ^
Value.cc:923:23: note: explicitly cast the pointer to silence this warning
         memcpy(dest, member_data_cell, sizeof(Cell));
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]