Compile problems with current cvs

Raul zomps at mail.astar.ee
Thu Apr 21 10:40:25 CEST 2005


Same problem occurs with windows mingw build

Raul Metsma

Angus Leeming wrote:
> Bang up to date sources:
> 
> $ grep qfiledialog_win.cpp src/dialogs/CVS/Entries
> /qfiledialog_win.cpp/1.1.2.1.4.12/Thu Apr 21 07:53:19
> 2005//TQT_WIN32_3_3_BRANCH
> 
> Compilation fails (g++ 3.4.2 cross compiler) with:
> 
> i386-mingw32-g++ -c -Wall -O2 -fno-exceptions -fno-rtti -DQT_SHARED
> -DQT_NO_DEBUG -DUNICODE -DQT_MAKEDLL -DQT_NO_CUPS -DQT_NO_NIS
> -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_MAC
> -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP
> -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -DQT_DLL -DQT_MAKEDLL -I"tmp"
> -I"3rdparty/libpng" -I"3rdparty/zlib" -I"../include"
> -I".moc/release-shared/"
> -I"/home/angus/mingw-xcompile/qt3/mkspecs/win32-g++-cross"
> -o .obj/release-shared/qfiledialog_win.o dialogs/qfiledialog_win.cpp
> dialogs/qfiledialog_win.cpp: In function `QStringList
> winGetOpenFileNamesW(const QString&, QString*, QWidget*, const char*,
> const QString&, QString*)':
> dialogs/qfiledialog_win.cpp:183: error: invalid initialization of non-const
> reference of type 'QString&' from a temporary of type 'QString'
> dialogs/qfiledialog_win.cpp:73: error: in passing argument 1 of `QString&
> reslashify(QString&)'
> dialogs/qfiledialog_win.cpp:198: error: invalid initialization of non-const
> reference of type 'QString&' from a temporary of type 'QString'
> dialogs/qfiledialog_win.cpp:73: error: in passing argument 1 of `QString&
> reslashify(QString&)'
> dialogs/qfiledialog_win.cpp: In function `QStringList
> winGetOpenFileNamesA(const QString&, QString*, QWidget*, const char*,
> const QString&, QString*)':
> dialogs/qfiledialog_win.cpp:260: error: invalid initialization of non-const
> reference of type 'QString&' from a temporary of type 'QString'
> dialogs/qfiledialog_win.cpp:64: error: in passing argument 1 of `QString&
> slashify(QString&)'
> make[2]: *** [.obj/release-shared/qfiledialog_win.o] Error 1
> make[2]: Leaving directory `/home/angus/mingw-xcompile/qt3/src'
> make[1]: *** [sub-src] Error 2
> make[1]: Leaving directory `/home/angus/mingw-xcompile/qt3'
> make: *** [init] Error 2
> 
> Regards,
> Angus
> 
> 
> 
> _______________________________________________
> kde-cygwin mailing list
> kde-cygwin at kde.org
> https://mail.kde.org/mailman/listinfo/kde-cygwin
> 



More information about the kde-cygwin mailing list