Hi Sebastian,

it looks like the used compiler is wetting itself while synthesizing a copy 
operator for the CDiary class. Ok, that is bad but you can't help it. Thus I 
committed a small patch to svn trunk that should fix the problem.

HTH

Oliver

-------- Original-Nachricht --------
> Datum: Fri, 20 May 2011 15:28:31 +0200
> Von: "Sebastian Reitenbach" <[email protected]>
> An: "Oliver Eichler" <[email protected]>, "QLandkarte GT" 
> <[email protected]>
> Betreff: Re: [Qlandkartegt-users] Release V 1.1.2

> Hi,
>  
> On Thursday, May 19, 2011 21:56 CEST, Oliver Eichler
> <[email protected]> wrote: 
>  
> > Hi all,
> > 
> > 2 month with no update! Bad, bad, bad. Ok here we go, a new release. 
> > What's sizzling new?
> > 
> 
> on OpenBSD i386, I get the following error message when compiling:
> 
> cd /home/ports/pobj/qlandkartegt-1.1.2/qlandkartegt-1.1.2/src &&
> /usr/bin/c++   -DVER_MAJOR=1 -DVER_MINOR=1 -DVER_STEP=2 -DQT_GUI_LIB 
> -DQT_CORE_LIB
> -DPLOT_3D -DGPX_EXTENSIONS -DHAS_GPSD -DHAS_EXIF -DHAS_GEODB -DDB_VERSION=7
> -DHAS_DBUS -DHAS_JNX -DENABLE_TRANSLATION -D_TTY_POSIX_ -DQT_NO_DEBUG
> -fno-stack-protector  -DGDALWARP=\"/usr/local/bin/gdalwarp\"
> -DGDALTRANSLATE=\"/usr/local/bin/gdal_translate\" -DGPSBABEL=\"gpsbabel\"
> -DMAP2JNX=\"map2jnx\" -O2 -g 
> -I/home/ports/pobj/qlandkartegt-1.1.2/qlandkartegt-1.1.2/src
> -I/home/ports/pobj/qlandkartegt-1.1.2/qlandkartegt-1.1.2
> -I/home/ports/pobj/qlandkartegt-1.1.2/qlandkartegt-1.1.2/include
> -I/home/ports/pobj/qlandkartegt-1.1.2/qlandkartegt-1.1.2/3rdparty/SerialPort
> -I/home/ports/pobj/qlandkartegt-1.1.2/qlandkartegt-1.1.2/3rdparty/QMKToolBox
> -I/home/ports/pobj/qlandkartegt-1.1.2/qlandkartegt-1.1.2/3rdparty/QZip
> -I/home/ports/pobj/qlandkartegt-1.1.2/qlandkartegt-1.1.2/3rdparty/getopt 
> -I/usr/local/include/X11/qt4
> -I/usr/local/include/X
>  11/qt4/QtGui -I/usr/local/include/X11/qt4/QtCore -I/usr/local/include
> -I/usr/local/include/X11/qt4/QtXml -I/usr/local/include/X11/qt4/QtSql
> -I/usr/local/include/X11/qt4/QtOpenGL -I/usr/local/include/X11/qt4/QtNetwork
> -I/usr/local/include/X11/qt4/QtDBus -I/usr/local/include/X11/qt4/QtWebKit
> -I/usr/X11R6/include -I/usr/local/include/libexif   -Wall -o
> CMakeFiles/qlandkartegt.dir/CDiaryDB.cpp.o -c
> /home/ports/pobj/qlandkartegt-1.1.2/qlandkartegt-1.1.2/src/CDiaryDB.cpp
> /usr/local/include/X11/qt4/QtCore/qobject.h: In copy constructor
> 'IItem::IItem(const IItem&)':
> /usr/local/include/X11/qt4/QtCore/qobject.h:309: error:
> 'QObject::QObject(const QObject&)' is private
> /home/ports/pobj/qlandkartegt-1.1.2/qlandkartegt-1.1.2/src/IItem.h:28:
> error: within this context
> /home/ports/pobj/qlandkartegt-1.1.2/qlandkartegt-1.1.2/src/CDiary.h: In
> copy constructor 'CDiary::CDiary(const CDiary&)':
> /home/ports/pobj/qlandkartegt-1.1.2/qlandkartegt-1.1.2/src/CDiary.h:29:
> note: synthesized method 'IItem::IItem(const IItem&)' first required here 
> /home/ports/pobj/qlandkartegt-1.1.2/qlandkartegt-1.1.2/src/CDiaryDB.cpp:
> In member function 'virtual void CDiaryDB::clear()':
> /home/ports/pobj/qlandkartegt-1.1.2/qlandkartegt-1.1.2/src/CDiaryDB.cpp:100:
> note: synthesized method 'CDiary::CDiary(const CDiary&)' first required
> here 
> *** Error code 1
> 
> Since c++ is not my favourite language, any hint how to solve it would be
> appreciated.
> 
> Sebastian

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to