: [Bug c++/80445] /usr/include/c++/6.3.1/cstdio:124:11: error: ‘::gets’
has not been declared using ::gets;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80445
Markus Trippelsdorf changed:
What|Removed |Added
Resolution|FIXED |INVALID
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80445
Anton Kochkov changed:
What|Removed |Added
Resolution|INVALID |FIXED
--- Comment #7 from Anton Kochkov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80445
Markus Trippelsdorf changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80445
--- Comment #5 from Anton Kochkov ---
Created attachment 41205
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41205=edit
preprocessed file
output of
g++ -c -pipe -m32 -O2 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -D__IDP__
-D__QT__
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80445
--- Comment #4 from Anton Kochkov ---
here is /usr/include/qt5/QtCore/qbytearray.h:
#ifndef QBYTEARRAY_H
#define QBYTEARRAY_H
#include
#include
#include
#include
#include
#include
#include// <-- line 52
#include
Seem no namespace
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80445
--- Comment #3 from Markus Trippelsdorf ---
(In reply to Markus Trippelsdorf from comment #2)
> Almost certainly not a gcc bug.
QT must be doing something weird like:
namespace std {
#include
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80445
Markus Trippelsdorf changed:
What|Removed |Added
CC||trippels at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80445
--- Comment #1 from Anton Kochkov ---
Forgot to mention command line:
g++ -c -pipe -m32 -O2 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -D__IDP__
-D__QT__ -D__EA64__ -D__LINUX__ -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB
-DQT_CORE_LIB -I.