hi, trying to install this and it fails and says this:
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKA GE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xmlcopyeditor\" -DVERSION=\" 1.0.7.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLI B_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/usr/include/li bxml2 -Wall -g -fexceptions -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/u sr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LAR GE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -Wall -g -fexceptions -Wall -g - fexceptions -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGE FILE_SOURCE=1 -DNO_GCC_PRAGMA -MT housestylewriter.o -MD -MP -MF ".deps/housesty lewriter.Tpo" -c -o housestylewriter.o housestylewriter.cpp; \ then mv -f ".deps/housestylewriter.Tpo" ".deps/housestylewriter.Po"; els e rm -f ".deps/housestylewriter.Tpo"; exit 1; fi housestylewriter.cpp: In constructor 'HouseStyleWriter::HouseStyleWriter(std::ve ctor<ContextMatch, std::allocator<ContextMatch> >&)': housestylewriter.cpp:21: error: no match for 'operator=' in '((HouseStyleWriter* )this)->HouseStyleWriter::hswd. std::auto_ptr<_Tp>::operator-> [with _Tp = House StyleWriterData]()->HouseStyleWriterData::elementSet = elementSet' /usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../include/c++/4.1.1/bits/s tl_set.h:218: note: candidates are: std::set<_Key, _Compare, _Alloc>& std::set<_ Key, _Compare, _Alloc>::operator=(const std::set<_Key, _Compare, _Alloc>&) [with _Key = unsigned int, _Compare = std::less<unsigned int>, _Alloc = std::allocato r<unsigned int>] make[1]: *** [housestylewriter.o] Error 1 make[1]: Leaving directory `/home/karsten/.aurbuild.3341/xmlcopyeditor/xmlcopyed itor/src/xmlcopyeditor-1.0.7.1/src' make: *** [all-recursive] Error 1 ==> ERROR: Build Failed. Aborting...
any ideas? thanks..
I will check housestylewriter.cpp and get back to you asap.
The problem is an assignment from size_t to unsigned (which does not cause a problem on 32-bit Linux).
This will be fixed for 1.0.7.2. In the meantime, the following should solve the problem:
vi src/housestylewriter.h :%s/set<unsigned>/set<size_t>/
Log in to post a comment.
hi, trying to install this and it fails and says this:
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKA GE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xmlcopyeditor\" -DVERSION=\" 1.0.7.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLI B_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/usr/include/li bxml2 -Wall -g -fexceptions -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/u sr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LAR GE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -Wall -g -fexceptions -Wall -g - fexceptions -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGE FILE_SOURCE=1 -DNO_GCC_PRAGMA -MT housestylewriter.o -MD -MP -MF ".deps/housesty lewriter.Tpo" -c -o housestylewriter.o housestylewriter.cpp; \
then mv -f ".deps/housestylewriter.Tpo" ".deps/housestylewriter.Po"; els e rm -f ".deps/housestylewriter.Tpo"; exit 1; fi
housestylewriter.cpp: In constructor 'HouseStyleWriter::HouseStyleWriter(std::ve ctor<ContextMatch, std::allocator<ContextMatch> >&)':
housestylewriter.cpp:21: error: no match for 'operator=' in '((HouseStyleWriter* )this)->HouseStyleWriter::hswd. std::auto_ptr<_Tp>::operator-> [with _Tp = House StyleWriterData]()->HouseStyleWriterData::elementSet = elementSet'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../include/c++/4.1.1/bits/s tl_set.h:218: note: candidates are: std::set<_Key, _Compare, _Alloc>& std::set<_ Key, _Compare, _Alloc>::operator=(const std::set<_Key, _Compare, _Alloc>&) [with _Key = unsigned int, _Compare = std::less<unsigned int>, _Alloc = std::allocato r<unsigned int>]
make[1]: *** [housestylewriter.o] Error 1
make[1]: Leaving directory `/home/karsten/.aurbuild.3341/xmlcopyeditor/xmlcopyed itor/src/xmlcopyeditor-1.0.7.1/src'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed. Aborting...
any ideas? thanks..
I will check housestylewriter.cpp and get back to you asap.
The problem is an assignment from size_t to unsigned (which does not cause a problem on 32-bit Linux).
This will be fixed for 1.0.7.2. In the meantime, the following should solve the problem:
vi src/housestylewriter.h
:%s/set<unsigned>/set<size_t>/