[CMake] return and break commands

Mike Jackson imikejackson at gmail.com
Wed Jan 23 14:34:34 EST 2008


I also had a problem with the compile, but another CVS update -d -P  
solved the problem.. odd. I have an automated script to update from  
CVS and then build both the gcc and intel versions so maybe the cvs  
update timed out and the compile proceeded anyway. Either way, cmake  
cvs seems to compile good here.

This was on OS X 10.4.11 with gcc (Xcode 2.5 tooling) and icc 9.1.040.

Mike Jackson

On Jan 23, 2008, at 2:24 PM, Ken Martin wrote:

> 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