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=-3clang++ -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. |
- [Bug-apl] SVN 991 compilation error David B. Lamkins
- Re: [Bug-apl] SVN 991 compilation error Juergen Sauermann
- Re: [Bug-apl] SVN 991 compilation error Juergen Sauermann