Producing runner.cpp
perl C:\cxxtest/cxxtestgen.pl -o runner.cpp --error-print test/SystemEventHandlerTestSuite.h
Producing object files
g++ -c -o bin/debug/runner.o -IC:\cxxtest -Itest -Isrc runner.cpp
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/mingw32/bits/c++allocator.h:34:0,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/bits/allocator.h:48,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/string:43,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/bits/locale_classes.h:42,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/bits/ios_base.h:43,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/ios:43,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/istream:40,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/sstream:39,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/complex:47,
from C:\cxxtest/cxxtest/StdHeaders.h:13,
from C:\cxxtest/cxxtest/StdValueTraits.h:11,
from C:\cxxtest/cxxtest/ValueTraits.h:344,
from C:\cxxtest/cxxtest/TestSuite.h:13,
from C:\cxxtest/cxxtest/RealDescriptions.h:9,
from C:\cxxtest/cxxtest/TestRunner.h:11,
from runner.cpp:10:
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/ext/new_allocator.h: In member function 'void __gnu_cxx::new_allocator<_Tp>::construct(_Tp*, const _Tp&) [with _Tp = std::auto_ptr<PSHUygulamasi::ISystemEvntMsg>, _Tp* = std::auto_ptr<PSHUygulamasi::ISystemEvntMsg>*]':
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/bits/vector.tcc:113:4: instantiated from 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::iterator, const value_type&) [with _Tp = std::auto_ptr<PSHUygulamasi::ISystemEvntMsg>, _Alloc = std::allocator<std::auto_ptr<PSHUygulamasi::ISystemEvntMsg> >, std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<std::auto_ptr<PSHUygulamasi::ISystemEvntMsg>*, std::vector<std::auto_ptr<PSHUygulamasi::ISystemEvntMsg> > >, typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer = std::auto_ptr<PSHUygulamasi::ISystemEvntMsg>*, value_type = std::auto_ptr<PSHUygulamasi::ISystemEvntMsg>]'
test/SystemEventHandlerTestSuite.h:83:25: instantiated from here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/ext/new_allocator.h:105:9: error: passing 'const std::auto_ptr<PSHUygulamasi::ISystemEvntMsg>' as 'this' argument of 'std::auto_ptr<_Tp>::operator std::auto_ptr_ref<_Tp1>() [with _Tp1 = PSHUygulamasi::ISystemEvntMsg, _Tp = PSHUygulamasi::ISystemEvntMsg]' discards qualifiers
.
.
.
make: *** [runner.o] Error 1 |