[cmake-developers] [PATCH 1/2] cmPropertyDefinition::IsChained is const

Yury G. Kudryashov urkud.urkud at gmail.com
Wed Feb 29 07:56:00 EST 2012


Brad King wrote:

> On Tue, Feb 28, 2012 at 4:07 PM, Yury G.  Kudryashov
> <urkud.urkud at gmail.com> wrote:
>> This branch compiles with -Werror here:
>> git pull git://gitorious.org/~urkud1/cmake/urkud-cmake.git add-const-
>> qualifiers
> 
> I still get warnings like:
> 
>  Source/cmCommand.h:99:16: warning: ‘virtual bool
> cmCommand::IsScriptable() const’ was hidden [-Woverloaded-virtual]
>  Source/cmMacroCommand.cxx:53:16: warning:   by ‘virtual bool
> cmMacroHelperCommand::IsScriptable()’ [-Woverloaded-virtual]
> 
> Please add -Woverloaded-virtual and try again.
Done, fixed. Pushed to the same branch.
-- 
Yury G. Kudryashov,
mailto: urkud at mccme.ru




More information about the cmake-developers mailing list