bug-apl
[Top][All Lists]
Advanced

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

Re: SVN 1423 warning on Mac OS


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

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

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