Hi Louis,

thanks, fixed in SVN 1425.

Best Regards,
Jürgen


On 1/30/21 6:32 PM, lchretien--- via Bugs and suggestions for GNU APL wrote:
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));
         ~~~~~~       ^
That was the plan. Copy Cell member_data_cell to dest. All of it, of course. No reason to complain IMHO.
Value.cc:923:23: note: explicitly cast the pointer to silence this warning
         memcpy(dest, member_data_cell, sizeof(Cell));
                      ^
                      (void*)
1 warning generated.
mv -f .deps/apl-Value.Tpo .deps/apl-Value.Po


---
Louis Chrétien





Reply via email to