[CMake] return and break commands

Ken Martin ken.martin at kitware.com
Wed Jan 23 14:24:25 EST 2008


Incomplete cvs update maybe or locally edited files? cmSetProperty looks
fine on my system and on the continuous. 

Ken

Ken Martin PhD 
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971 

> In file included from
> /home/fsousa/projects/cmake/Source/cmSetPropertyCommand.cxx:17,
>                  from
> /home/fsousa/projects/cmake/Source/cmBootstrapCommands.cxx:76:
> /home/fsousa/projects/cmake/Source/cmSetPropertyCommand.h: In member
> function 'virtual cmCommand* cmSetPropertyCommand::Clone()':
> /home/fsousa/projects/cmake/Source/cmSetPropertyCommand.h:29: error:
> cannot allocate an object of abstract type 'cmSetPropertyCommand'
> /home/fsousa/projects/cmake/Source/cmSetPropertyCommand.h:23: note:
> because the following virtual functions are pure within
> 'cmSetPropertyCommand':
> /home/fsousa/projects/cmake/Source/cmCommand.h:76: note:        virtual
> bool cmCommand::InitialPass(const std::vector<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >,
> std::allocator<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > > >&, cmExecutionStatus&)
> /home/fsousa/projects/cmake/Source/cmBootstrapCommands.cxx: In function
> 'void GetBootstrapCommands(std::list<cmCommand*,
> std::allocator<cmCommand*> >&)':
> /home/fsousa/projects/cmake/Source/cmBootstrapCommands.cxx:137: error:
> cannot allocate an object of abstract type 'cmSetPropertyCommand'
> /home/fsousa/projects/cmake/Source/cmSetPropertyCommand.h:23: note:
> since type 'cmSetPropertyCommand' has pure virtual functions
> make[2]: *** [Source/CMakeFiles/CMakeLib.dir/cmBootstrapCommands.cxx.o]
> Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [Source/CMakeFiles/CMakeLib.dir/all] Error 2
> make: *** [all] Error 2




More information about the CMake mailing list