Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-43900

RCC fails to build under MinGW

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.4.0
    • Fix Version/s: 5.4.1
    • Labels:
      None
    • Commits:
      5ee8ed27e05f17dc7911a5917c012d0a4fa5afcb

      Description

      g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=c++0x -fno-exceptions -frtti -Wall -Wextra -DUNICODE -DQT_RCC -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_BOOTSTRAP_LIB -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -DQT_NO_TRANSLATION -DQT_QMAKE_LOCATION="G:/Qt/Toolchains/qt-everywhere-opensource-src-5.4.0/qtbase/bin/qmake" -I. -I"." -I"..\..\..\include" -I"..\..\..\include\QtCore" -I"..\..\..\include\QtXml" -I"..\..\..\include\QtCore\5.4.0" -I"..\..\..\include\QtCore\5.4.0\QtCore" -I"..\..\..\include\QtXml\5.4.0" -I"..\..\..\include\QtXml\5.4.0\QtXml" -I"..\..\..\mkspecs\win32-g++" -o .obj\release\main.o main.cpp
      main.cpp: In function 'int runRcc(int, char**)':
      main.cpp:254:36: error: '_fileno' was not declared in this scope
                   _setmode(_fileno(stdout), _O_BINARY);
                                          ^
      

      We must include stdio for _fileno.

        Attachments

          Issue Links

          Error rendering 'com.meetme.plugins.jira.gerrit-plugin:gerritreviewsmodule'. Please contact your Jira administrators.

            Activity

              People

              • Assignee:
                peppe Giuseppe D'Angelo
                Reporter:
                peppe Giuseppe D'Angelo
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews Side Panel

                  Error rendering 'com.meetme.plugins.jira.gerrit-plugin:gerrit-reviews-side-panel'. Please contact your Jira administrators.