bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] SVN 991 compilation error


From: Juergen Sauermann
Subject: Re: [Bug-apl] SVN 991 compilation error
Date: Fri, 11 Aug 2017 12:13:38 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

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.






reply via email to

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