[cmake-developers] [PATCH 1/2] cmPropertyDefinition::IsChained is const
Brad King
brad.king at kitware.com
Tue Feb 28 17:09:29 EST 2012
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.
Thanks,
-Brad
More information about the cmake-developers
mailing list