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

RCC fails to build under MinGW

    XMLWordPrintable

Details

    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes