|
From: | Dr . Jürgen Sauermann |
Subject: | Re: SVN 1423 warning on Mac OS |
Date: | Sat, 30 Jan 2021 20:37:15 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
From the latest SVN, 1423:That was the plan. Copy Cell member_data_cell to dest. All of it, of course. No reason to complain IMHO.
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.ccValue.cc:923:23: warning: source of this 'memcpy' call is a pointer to dynamic class 'Cell'; vtable pointer will becopied [-Wdynamic-class-memaccess]memcpy(dest, member_data_cell, sizeof(Cell));~~~~~~ ^
Value.cc:923:23: note: explicitly cast the pointer to silence this warningmemcpy(dest, member_data_cell, sizeof(Cell));^(void*)1 warning generated.mv -f .deps/apl-Value.Tpo .deps/apl-Value.Po
---Louis Chrétien
[Prev in Thread] | Current Thread | [Next in Thread] |