[omniORB] -Woverloaded-virtual compiler warnings since 4.2.3 or 4.2.4
Michael Teske
subscribe at teskor.de
Wed Apr 29 16:19:05 UTC 2020
Hi Duncan,
ooops I completely forgot :) Thanks for the tip.
The patch you provided back then is still in my code repository (I do 3-way-merges in order to not lose our changes),
but it looks like it is not used when compiling with python 3.
It then uses
src/lib/omniORB/python3/omniidl_be/cxx/value.py
but this can be easily patched the same way.
Thanks again for the hint.
Greetings,
Michael
Am 29/04/2020 um 11:48 schrieb Duncan Grisby:
> On Wed, 2020-04-29 at 00:19 +0200, Michael Teske via omniORB-list
> wrote:
>
>> I just found out that the diffs do not come from the omniORB version
>> but from the used python version. We switched from
>> python 2.7 to 3.6 in the 4.2.3 build, and I just confirmed that the
>> _PR_copy_state()-methods are not virtual when
>> building with 2.7, and virtual when building with 3.6. I assume the
>> output of the idl compiler should be the same,
>> independent of the python version, so something's wrong here IMHO.
>
> You customised it :-)
>
> https://www.omniorb-support.com/pipermail/omniorb-list/2015-February/031668.html
>
> I don't think there's any need for the function to be virtual, but it
> can't be changed in 4.2.x without breaking the ABI. 4.3.x is not yet
> released, so it doesn't yet need a stable ABI. I I'll change it in the
> 4.3 branch.
>
> Duncan.
>
More information about the omniORB-list
mailing list