[Bug c++/80445] New: /usr/include/c++/6.3.1/cstdio:124:11: error: ‘::gets’ has not been declared using ::gets;

anton.kochkov at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Apr 17 10:18:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80445

            Bug ID: 80445
           Summary: /usr/include/c++/6.3.1/cstdio:124:11: error: ‘::gets’
                    has not been declared    using ::gets;
           Product: gcc
           Version: 6.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: anton.kochkov at gmail dot com
  Target Milestone: ---

In file included from /usr/include/c++/6.3.1/ext/string_conversions.h:43:0,
                 from /usr/include/c++/6.3.1/bits/basic_string.h:5402,
                 from /usr/include/c++/6.3.1/string:52,
                 from /usr/include/qt5/QtCore/qbytearray.h:52,
                 from /usr/include/qt5/QtCore/qstring.h:49,
                 from /usr/include/qt5/QtCore/qobject.h:47,
                 from /usr/include/qt5/QtCore/qabstractanimation.h:43,
                 from /usr/include/qt5/QtCore/QtCore:4,
                 from /usr/include/qt5/QtGui/QtGuiDepends:3,
                 from /usr/include/qt5/QtGui/QtGui:3,
/usr/include/c++/6.3.1/cstdio: At global scope:
/usr/include/c++/6.3.1/cstdio:124:11: error: ‘::gets’ has not been declared
   using ::gets;
           ^~~~
/usr/include/c++/6.3.1/cstdio:137:11: error: ‘::sprintf’ has not been declared
   using ::sprintf;
           ^~~~~~~
/usr/include/c++/6.3.1/cstdio:175:11: error: ‘::snprintf’ has not been declared
   using ::snprintf;
           ^~~~~~~~
/usr/include/c++/6.3.1/cstdio:185:22: error: ‘__gnu_cxx::snprintf’ has not been
declared
   using ::__gnu_cxx::snprintf;
                      ^~~~~~~~


More information about the Gcc-bugs mailing list