nowrep/QupZilla — Issue #158: expected ‘,’ or ‘...’ before ‘&’ token
Author: ryandesign
Created: 2012-01-12 10:37:16+00:00
State: open

Trying to build the latest code 1d16f86f3dd9e0a8cf490f9f16e1d4e1ca31cf78 fails for me on OS X Snow Leopard with Xcode 3.2.6 with this error:

/usr/bin/g++-4.2 -arch x86_64 -arch i386 -c -pipe -O2 -Wall -W -DQT_NO_DEBUG_OUTPUT -DUSE_DATADIR=\"/opt/local/share/qupzilla/\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_DBUS_LIB -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I../build -I3rdparty -Iapp -Iautofill -Ibookmarks -Icookies -Idownloads -Ihistory -Inavigation -Inetwork -Iother -Ipreferences -Irss -Itools -Iutils -Iwebview -Iplugins -Isidebar -Idata -Iadblock -Idesktopnotifications -Iopensearch -Ibookmarksimport -I3rdparty -I/opt/local/include/QtWebKit -I/opt/local/include/QtDBus -I/opt/local/include/QtScript -I/opt/local/include/QtSql -I/opt/local/include/QtGui -I/opt/local/include/QtNetwork -I/opt/local/include/QtCore -I/opt/local/include -I../build -o ../build/desktopnotificationsfactory.o desktopnotifications/desktopnotificationsfactory.cpp
In file included from desktopnotifications/desktopnotificationsfactory.cpp:18:
desktopnotifications/desktopnotificationsfactory.h:38: error: expected ‘,’ or ‘...’ before ‘&’ token
desktopnotifications/desktopnotificationsfactory.h:38: error: ISO C++ forbids declaration of ‘QPixmap’ with no type
desktopnotifications/desktopnotificationsfactory.cpp:45: error: prototype for ‘void DesktopNotificationsFactory::notify(const QPixmap&, const QString&, const QString&)’ does not match any in class ‘DesktopNotificationsFactory’
desktopnotifications/desktopnotificationsfactory.h:38: error: candidate is: void DesktopNotificationsFactory::notify(int)
In file included from desktopnotifications/desktopnotificationsfactory.cpp:18:
desktopnotifications/desktopnotificationsfactory.h:38: error: expected ‘,’ or ‘...’ before ‘&’ token
desktopnotifications/desktopnotificationsfactory.h:38: error: ISO C++ forbids declaration of ‘QPixmap’ with no type
desktopnotifications/desktopnotificationsfactory.cpp:45: error: prototype for ‘void DesktopNotificationsFactory::notify(const QPixmap&, const QString&, const QString&)’ does not match any in class ‘DesktopNotificationsFactory’
desktopnotifications/desktopnotificationsfactory.h:38: error: candidate is: void DesktopNotificationsFactory::notify(int)