When I compile, I get the following error message:
g++ -c -m64 -pipe -O2 -D_REENTRANT -w -DQ7BASIC -DQUAZIP_STATIC -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtUiTools -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtSvg -I/usr/include/phonon -I/usr/include/QtWebKit -I/usr/include/QtDeclarative -I/usr/include -I. -I/usr/include/phonon_compat -I. -I. -o ./Application.o Application.cpp
Application.cpp: In member function ‘void Application::Q7B_on_lastWindowClosed()’:
Application.cpp:79:118: error: taking address of temporary [-fpermissive]
make: *** [Application.o] Error 1
linux-g73z:/home/dbabin/qbasic/Q7Basic_Source_Code # qmake -v
QMake version 2.01a
Using Qt version 4.7.4 in /usr/lib64
Any help would be appreciated.
Thanks
Dave