g++ -O2 -I../include -I. -I/usr/local/qt/include -I/usr/X11/include -c ../win/Qt/qt_win.cc
In file included from ../win/Qt/qt_win.h:24,
                 from ../win/Qt/qt_win.cc:59:
/usr/local/qt/include/qmsgbox.h:37: parse error before `.'
/usr/local/qt/include/qmsgbox.h:37: missing ';' before right brace
/usr/local/qt/include/qmsgbox.h:39: parse error before `*'
/usr/local/qt/include/qmsgbox.h:40: parse error before `const'
/usr/local/qt/include/qmsgbox.h:44: destructors must be member functions
/usr/local/qt/include/qmsgbox.h:99: non-member function `text()' cannot have `const' method
ifier
/usr/local/qt/include/qmsgbox.h:102: parse error before `('
/usr/local/qt/include/qmsgbox.h:102: non-member function `icon()' cannot have `const' method
lifier
/usr/local/qt/include/qmsgbox.h:103: `Icon' was not declared in this scope
/usr/local/qt/include/qmsgbox.h:103: variable or field `setIcon' declared void
/usr/local/qt/include/qmsgbox.h:105: non-member function `iconPixmap()' cannot have `const'
od qualifier
/usr/local/qt/include/qmsgbox.h:109: non-member function `buttonText()' cannot have `const'
od qualifier
/usr/local/qt/include/qmsgbox.h:113: non-member function `buttonText(int)' cannot have `cons
ethod qualifier
/usr/local/qt/include/qmsgbox.h:120: `Icon' was not declared in this scope
/usr/local/qt/include/qmsgbox.h:120: parse error before `,'
/usr/local/qt/include/qmsgbox.h:126: parse error before `private'
/usr/local/qt/include/qmsgbox.h:131: non-member function `indexOf(int)' cannot have `const'
od qualifier
/usr/local/qt/include/qmsgbox.h:138: parse error before `private'
/usr/local/qt/include/qmsgbox.h:140: parse error before `&'
/usr/local/qt/include/qmsgbox.h:140: `operator =(...)' must be a nonstatic member function
/usr/local/qt/include/qmsgbox.h:140: confused by earlier errors, bailing out
make[1]: *** [qt_win.o] Error 1
make[1]: Leaving directory `/root/src/game/nethack-3.2.2.new/src'
make: *** [nethack] Error 2
