[CMake] return and break commands

Filipe Sousa natros at gmail.com
Wed Jan 23 13:35:40 EST 2008


Ken Martin wrote:
> I just checked into CVS return and break commands for CMake. They work
> ...

:)

> Give me a holler if there are problems.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20080123/742b14e7/signature.pgp


More information about the CMake mailing list