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.



Reply via email to