rigma/Black-Hat — comment on commit cef6c5ec7d76525e206f837a8cd315f05ec0cd53
File:  line 0
By rigma:

bapplication.cpp do not want to be compiled (errors) :
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I../../bcore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../include -I/usr/include -Imoc -I../../bcore -I. -o obj/bapplication.o ../bapplication.cpp
In file included from /usr/include/qt4/QtCore/qstringlist.h:46:0,
from /usr/include/qt4/QtGui/qcolor.h:47,
from /usr/include/qt4/QtGui/qpalette.h:46,
from /usr/include/qt4/QtGui/qwidget.h:49,
from /usr/include/qt4/QtGui/qdialog.h:45,
from /usr/include/qt4/QtGui/QDialog:1,
from ../include/bcmdlineargs.h:5,
from ../bapplication.cpp:17:
/usr/include/qt4/QtCore/qdatastream.h:50:2: erreur: #error qdatastream.h must be included before any header file that defines Status
In file included from /usr/include/qt4/QtCore/qvariant.h:48:0,
from /usr/include/qt4/QtCore/qsettings.h:46,
from /usr/include/qt4/QtCore/QSettings:1,
from ../include/bconfig.h:4,
from ../bapplication.cpp:18:
/usr/include/qt4/QtCore/qmetatype.h:53:2: erreur: #error qmetatype.h must be included before any header file that defines Bool
In file included from ../bapplication.cpp:18:0:
../include/bconfig.h:1:0: erreur: #ifndef non terminé
In file included from /usr/include/qt4/QtCore/qcoreapplication.h:46:0,
from /usr/include/qt4/QtGui/qapplication.h:45,
from /usr/include/qt4/QtGui/QApplication:1,
from ../include/bapplication.h:8,
from ../bapplication.cpp:16:
/usr/include/qt4/QtCore/qcoreevent.h:69:9: erreur: expected identifier before numeric constant
/usr/include/qt4/QtCore/qcoreevent.h:69:9: erreur: expected ‘}’ before numeric constant
/usr/include/qt4/QtCore/qcoreevent.h:69:9: erreur: expected unqualified-id before numeric constant
/usr/include/qt4/QtCore/qcoreevent.h:298:17: erreur: expected ‘)’ before ‘type’
/usr/include/qt4/QtCore/qcoreevent.h:299:21: erreur: declaration of ‘~QEvent’ as non-member
/usr/include/qt4/QtCore/qcoreevent.h:300:12: erreur: ‘Type’ does not name a type
/usr/include/qt4/QtCore/qcoreevent.h:301:31: erreur: non-member function ‘bool spontaneous()’ cannot have cv-qualifier
/usr/include/qt4/QtCore/qcoreevent.h: In function ‘bool spontaneous()’:
/usr/include/qt4/QtCore/qcoreevent.h:301:46: erreur: ‘spont’ was not declared in this scope
/usr/include/qt4/QtCore/qcoreevent.h: In function ‘void setAccepted(bool)’:
/usr/include/qt4/QtCore/qcoreevent.h:303:46: erreur: ‘m_accept’ was not declared in this scope
/usr/include/qt4/QtCore/qcoreevent.h: At global scope:
/usr/include/qt4/QtCore/qcoreevent.h:304:30: erreur: non-member function ‘bool isAccepted()’ cannot have cv-qualifier
/usr/include/qt4/QtCore/qcoreevent.h: In function ‘bool isAccepted()’:
/usr/include/qt4/QtCore/qcoreevent.h:304:45: erreur: ‘m_accept’ was not declared in this scope
/usr/include/qt4/QtCore/qcoreevent.h: In function ‘void accept()’:
/usr/include/qt4/QtCore/qcoreevent.h:306:28: erreur: ‘m_accept’ was not declared in this scope
/usr/include/qt4/QtCore/qcoreevent.h: In function ‘void ignore()’:
/usr/include/qt4/QtCore/qcoreevent.h:307:28: erreur: ‘m_accept’ was not declared in this scope
/usr/include/qt4/QtCore/qcoreevent.h: At global scope:
/usr/include/qt4/QtCore/qcoreevent.h:311:1: erreur: expected unqualified-id before ‘protected’
/usr/include/qt4/QtCore/qcoreevent.h:315:1: erreur: expected unqualified-id before ‘private’
/usr/include/qt4/QtCore/qcoreevent.h:317:18: erreur: expected initializer before ‘:’ token
/usr/include/qt4/QtCore/qcoreevent.h:318:21: erreur: expected initializer before ‘:’ token
/usr/include/qt4/QtCore/qcoreevent.h:319:21: erreur: expected initializer before ‘:’ token
/usr/include/qt4/QtCore/qcoreevent.h:321:5: erreur: ‘friend’ used outside of class
/usr/include/qt4/QtCore/qcoreevent.h:322:5: erreur: ‘friend’ used outside of class
/usr/include/qt4/QtCore/qcoreevent.h:323:5: erreur: ‘friend’ used outside of class
/usr/include/qt4/QtCore/qcoreevent.h:324:5: erreur: ‘friend’ used outside of class
/usr/include/qt4/QtCore/qcoreevent.h:325:5: erreur: ‘friend’ used outside of class
/usr/include/qt4/QtCore/qcoreevent.h:326:5: erreur: ‘friend’ used outside of class
/usr/include/qt4/QtCore/qcoreevent.h:327:5: erreur: ‘friend’ used outside of class
/usr/include/qt4/QtCore/qcoreevent.h:328:5: erreur: ‘friend’ used outside of class
/usr/include/qt4/QtCore/qcoreevent.h:329:5: erreur: ‘friend’ used outside of class
/usr/include/qt4/QtCore/qcoreevent.h:330:5: erreur: ‘friend’ used outside of class
/usr/include/qt4/QtCore/qcoreevent.h:331:5: erreur: ‘friend’ used outside of class
/usr/include/qt4/QtCore/qcoreevent.h:333:5: erreur: ‘friend’ used outside of class
/usr/include/qt4/QtCore/qcoreevent.h:335:1: erreur: expected declaration before ‘}’ token
/usr/include/qt4/QtCore/qcoreevent.h:309:16: attention : ‘int registerEventType(int)’ declared ‘static’ but never defined [-Wunused-function]
make: quittant le répertoire « /home/romain/git/Black-Hat/libs/bcore/build »
make: *** [obj/bapplication.o] Erreur 1