bug-apl
[Top][All Lists]
Advanced

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

Re: Build 1374: one warning left on Mac OS X


From: Dr . Jürgen Sauermann
Subject: Re: Build 1374: one warning left on Mac OS X
Date: Sun, 13 Dec 2020 16:09:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi Louis,

thanks, hopefully fixed in SVN 1375.

BTW: if you use clang because you are on macOS, please be aware of the following:

https://www.fsf.org/news/the-problems-with-apple-arent-just-outages-they-are-injustices

It could mean that the days are counted where you can use GNU APL on Apple machines.

Best Regards,
Jürgen


On 12/10/20 8:02 PM, Louis Chretien via Bugs and suggestions for GNU APL wrote:
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]