public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/65920] New: Not able to compile a code @ 2015-04-28 20:28 imran.siddiqui at live dot com 2015-04-28 20:34 ` [Bug c/65920] " pinskia at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: imran.siddiqui at live dot com @ 2015-04-28 20:28 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65920 Bug ID: 65920 Summary: Not able to compile a code Product: gcc Version: 4.8.3 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: imran.siddiqui at live dot com Target Milestone: --- Created attachment 35418 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35418&action=edit Error I got an upgrade in AIX server i.e. 7.1 with the DB2 version 9.5. Whenever we complied a legacy C code in previous AIX server i.e 5.3 with Db2 version 9.5 and GCC version 2.9 it worked fined. But now i am facing issues in compling.It is very critical for my project to solve this.. I am attaching some errors ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/65920] Not able to compile a code 2015-04-28 20:28 [Bug c/65920] New: Not able to compile a code imran.siddiqui at live dot com @ 2015-04-28 20:34 ` pinskia at gcc dot gnu.org 2015-04-28 20:41 ` [Bug c++/65920] " imran.siddiqui at live dot com 2015-04-28 20:56 ` pinskia at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu.org @ 2015-04-28 20:34 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65920 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID Severity|critical |normal --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Sounds like you don't know that string is now in the std namespace. Either add "using std::string;" after the include of string.h or change all references to string to std::string. You need to figure out where LogFile is defined and compile that c++ file too. This is not a GCC bug but rather an issue with your code. If you want to ask C++ questions it is best to ask on a different place than here. Also how to use gcc it would be best to ask on gcc-help@gcc.gnu.org rather than in a bug report. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/65920] Not able to compile a code 2015-04-28 20:28 [Bug c/65920] New: Not able to compile a code imran.siddiqui at live dot com 2015-04-28 20:34 ` [Bug c/65920] " pinskia at gcc dot gnu.org @ 2015-04-28 20:41 ` imran.siddiqui at live dot com 2015-04-28 20:56 ` pinskia at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: imran.siddiqui at live dot com @ 2015-04-28 20:41 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65920 Imran <imran.siddiqui at live dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |--- --- Comment #2 from Imran <imran.siddiqui at live dot com> --- Thans for the quick reply. The code is perfectly fine as it was workinng as i mentioned earlier But after the upgrade only it started throwing the error. I tried repalcing char * with string in the log.cpp..but again it left me some other errors ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/65920] Not able to compile a code 2015-04-28 20:28 [Bug c/65920] New: Not able to compile a code imran.siddiqui at live dot com 2015-04-28 20:34 ` [Bug c/65920] " pinskia at gcc dot gnu.org 2015-04-28 20:41 ` [Bug c++/65920] " imran.siddiqui at live dot com @ 2015-04-28 20:56 ` pinskia at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu.org @ 2015-04-28 20:56 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65920 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- well GCC 2.9 was not standard complaint with respect of C++ STL so the string class was not part of the std namespace. But that changed with 3.0 which was over 10 years ago now. Again this is not a question about a GCC bug but rather a standard C++ question. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-04-28 20:56 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-04-28 20:28 [Bug c/65920] New: Not able to compile a code imran.siddiqui at live dot com 2015-04-28 20:34 ` [Bug c/65920] " pinskia at gcc dot gnu.org 2015-04-28 20:41 ` [Bug c++/65920] " imran.siddiqui at live dot com 2015-04-28 20:56 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).