Compile error (BEI 8) encountered while solving the Qt FAQ how to install Qt Creator under Cygwin?.
Following [1], after 'make sub-tools-bootstrap sub-moc sub-rcc sub-uic sub-corelib sub-gui', I entered 'make' (with this command not following [1]) and got the following error:
make[1]: Entering directory `/usr/local/src/qtwin-4.6.2/build-cygwin/src/script' g++-4 -c -pipe -DQ_CYGWIN_WIN -DUNICODE -fno-exceptions -Wreturn-type -fno-strict-aliasing -O2 -D_REENTRANT -DQ_CYGWIN_WIN -DUNICODE -DJSC=QTJSC -Djscyyparse=qtjscyyparse -Djscyylex=qtjscyylex -Djscyyerror=qtjscyyerror -DWTF=QTWTF -DQT_BUILD_SCRIPT_LIB -DQT_NO_USING_NAMESPACE -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DBUILDING_QT__=1 -DNDEBUG -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DNDEBUG -DJS_EXPORT= -DJS_EXPORTDATA= -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/local/src/qtwin-4.6.2/mkspecs/cygwin-g++-win32 -I/usr/local/src/qtwin-4.6.2/src/script -I../../include/QtCore -I../../include -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/assembler -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/bytecode -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/bytecompiler -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/debugger -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/interpreter -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/jit -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/parser -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/profiler -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/runtime -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wrec -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/yarr -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/API -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders -Igenerated -I../../include/QtScript -I.rcc/release-static -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/WebKit/qt/Api -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/pcre -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/WebKitBuild/Release/JavaScriptCore/tmp -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/parser -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/bytecompiler -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/debugger -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/runtime -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf -I/usr/local/src/qtwin-4.6.2/src/script/../3rdparty/javascriptcore/JavaScriptCore/unicode -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/interpreter -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/jit -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/profiler -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wrec -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/API -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/bytecode -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/assembler -I/usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/generated -I/usr/local/src/qtwin-4.6.2/src/script -I/usr/local/src/qtwin-4.6.2/src/script/parser -I.moc/release-static -I. -o obj/release/pcre_compile.o /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp In file included from /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/Unicode.h:32, from /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre.h:45, from /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_internal.h:82, from /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:46: /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function 'UChar32 QTWTF::Unicode::toLower(UChar32)': /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:197: error: call of overloaded 'toLower(UChar32&)' is ambiguous ../../include/QtCore/../../../src/corelib/tools/qchar.h:316: note: candidates are: static uint QChar::toLower(uint) ../../include/QtCore/../../../src/corelib/tools/qchar.h:317: note: static ushort QChar::toLower(ushort) /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function 'UChar32 QTWTF::Unicode::toUpper(UChar32)': /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:255: error: call of overloaded 'toUpper(UChar32&)' is ambiguous ../../include/QtCore/../../../src/corelib/tools/qchar.h:318: note: candidates are: static uint QChar::toUpper(uint) ../../include/QtCore/../../../src/corelib/tools/qchar.h:319: note: static ushort QChar::toUpper(ushort) /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function 'int QTWTF::Unicode::toTitleCase(UChar32)': /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:313: error: call of overloaded 'toTitleCase(UChar32&)' is ambiguous ../../include/QtCore/../../../src/corelib/tools/qchar.h:320: note: candidates are: static uint QChar::toTitleCase(uint) ../../include/QtCore/../../../src/corelib/tools/qchar.h:321: note: static ushort QChar::toTitleCase(ushort) /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function 'UChar32 QTWTF::Unicode::foldCase(UChar32)': /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:318: error: call of overloaded 'toCaseFolded(UChar32&)' is ambiguous ../../include/QtCore/../../../src/corelib/tools/qchar.h:322: note: candidates are: static uint QChar::toCaseFolded(uint) ../../include/QtCore/../../../src/corelib/tools/qchar.h:323: note: static ushort QChar::toCaseFolded(ushort) /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function 'bool QTWTF::Unicode::isPrintableChar(UChar32)': /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:343: error: call of overloaded 'category(UChar32&)' is ambiguous ../../include/QtCore/../../../src/corelib/tools/qchar.h:301: note: candidates are: static QChar::Category QChar::category(uint) ../../include/QtCore/../../../src/corelib/tools/qchar.h:302: note: static QChar::Category QChar::category(ushort) /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function 'bool QTWTF::Unicode::isSeparatorSpace(UChar32)': /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:348: error: call of overloaded 'category(UChar32&)' is ambiguous ../../include/QtCore/../../../src/corelib/tools/qchar.h:301: note: candidates are: static QChar::Category QChar::category(uint) ../../include/QtCore/../../../src/corelib/tools/qchar.h:302: note: static QChar::Category QChar::category(ushort) /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function 'bool QTWTF::Unicode::isPunct(UChar32)': /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:360: error: call of overloaded 'category(UChar32&)' is ambiguous ../../include/QtCore/../../../src/corelib/tools/qchar.h:301: note: candidates are: static QChar::Category QChar::category(uint) ../../include/QtCore/../../../src/corelib/tools/qchar.h:302: note: static QChar::Category QChar::category(ushort) /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function 'bool QTWTF::Unicode::isLower(UChar32)': /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:365: error: call of overloaded 'category(UChar32&)' is ambiguous ../../include/QtCore/../../../src/corelib/tools/qchar.h:301: note: candidates are: static QChar::Category QChar::category(uint) ../../include/QtCore/../../../src/corelib/tools/qchar.h:302: note: static QChar::Category QChar::category(ushort) /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function 'UChar32 QTWTF::Unicode::mirroredChar(UChar32)': /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:376: error: call of overloaded 'mirroredChar(UChar32&)' is ambiguous ../../include/QtCore/../../../src/corelib/tools/qchar.h:310: note: candidates are: static uint QChar::mirroredChar(uint) ../../include/QtCore/../../../src/corelib/tools/qchar.h:311: note: static ushort QChar::mirroredChar(ushort) /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function 'uint8_t QTWTF::Unicode::combiningClass(UChar32)': /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:381: error: call of overloaded 'combiningClass(UChar32&)' is ambiguous ../../include/QtCore/../../../src/corelib/tools/qchar.h:307: note: candidates are: static unsigned char QChar::combiningClass(uint) ../../include/QtCore/../../../src/corelib/tools/qchar.h:308: note: static unsigned char QChar::combiningClass(ushort) /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function 'QTWTF::Unicode::Direction QTWTF::Unicode::direction(UChar32)': /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:403: error: call of overloaded 'direction(UChar32&)' is ambiguous ../../include/QtCore/../../../src/corelib/tools/qchar.h:303: note: candidates are: static QChar::Direction QChar::direction(uint) ../../include/QtCore/../../../src/corelib/tools/qchar.h:304: note: static QChar::Direction QChar::direction(ushort) /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function 'QTWTF::Unicode::CharCategory QTWTF::Unicode::category(UChar32)': /usr/local/src/qtwin-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:408: error: call of overloaded 'category(UChar32&)' is ambiguous ../../include/QtCore/../../../src/corelib/tools/qchar.h:301: note: candidates are: static QChar::Category QChar::category(uint) ../../include/QtCore/../../../src/corelib/tools/qchar.h:302: note: static QChar::Category QChar::category(ushort) make[1]: *** [obj/release/pcre_compile.o] Error 1 make[1]: Leaving directory `/usr/local/src/qtwin-4.6.2/build-cygwin/src/script' make: *** [sub-script-make_default-ordered] Error 2
Unknown. You can avoid this error by strictly following [1].