On 07/22/14 15:03, Adriano dos Santos Fernandes wrote:
> On 22/07/2014 07:54, Alex Peshkoff wrote:
>> On 07/22/14 14:41, Dmitry Yemanov wrote:
>>> 21.07.2014 18:04, Alex Peshkoff wrote:
>>>
>>>> Ahh - it's related with multiple inheritance and rtti. Luckily we do not
>>>> use both in interfaces.
>>> Just for clarity - besides that, we must neither use virtual destructors
>> Definitely not.
>> Instead dtor release() function is used.
>>
> How we'll deal with warnings about class with virtual methods without
> virtual destructors? I didn't found a clever way.
>
> Current clang++ build is full of them. And note, globally disable them
> are not a option, as these headers are going to be used by users.

g++ sometimes ago also used to raise such warning. But sometimes later 
one clever guy in development team found that people should have a way 
to describe pure virtual interfaces. Presence of such warning for a pure 
virtual class was accepted to be a bug which was fixed. Unfortunately in 
clang++ this bug is still present. How can we fix buggy compiler? :-(


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to