Hi Peter,
yes, thanks.
/// Jürgen
On 08/11/2017 12:49 AM, Peter Teeson
wrote:
You mean svn 992 don’t you?
respect…
Peter
On Aug 10, 2017, at 1:59 PM, Juergen Sauermann
< address@hidden>
wrote:
Hi David,
thanks, fixed in SVN 902.
/// Jürgen
On 08/10/2017 07:17 PM,
David B. Lamkins wrote:
Again, this is with:
./configure RATIONAL_NUMBERS_WANTED=yes PERFORMANCE_COUNTERS_WANTED=yes CORE_COUNT_WANTED=-3
clang++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -Wold-style-cast -Werror -I/usr/include -I/usr/include -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:502:45: error: 'reinterpret_cast' to class 'Value *' from its base at non-zero offset 'DynamicObject *' behaves differently from 'static_cast' [-Werror,-Wreinterpret-base-class]
CERR << " Value: " << reinterpret_cast<Value *>(obj)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Value.cc:502:45: note: use 'static_cast' to adjust the pointer correctly while downcasting
CERR << " Value: " << reinterpret_cast<Value *>(obj)
^~~~~~~~~~~~~~~~
static_cast
Value.cc:570:45: error: 'reinterpret_cast' to class 'Value *' from its base at non-zero offset 'DynamicObject *' behaves differently from 'static_cast' [-Werror,-Wreinterpret-base-class]
CERR << " Value: " << reinterpret_cast<Value *>(obj)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Value.cc:570:45: note: use 'static_cast' to adjust the pointer correctly while downcasting
CERR << " Value: " << reinterpret_cast<Value *>(obj)
^~~~~~~~~~~~~~~~
static_cast
2 errors generated.
|