This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13790] New: bad include
- From: "piotoru at zodiac dot mimuw dot edu dot pl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2004 08:15:52 -0000
- Subject: [Bug c++/13790] New: bad include
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I wrote this program:
#include <string>
int main()
{
string aaa;
return 0;
}
and try to compile it in few ways:
g++ a.c
g++ -I/usr/include/c++/3.3 a.c
and compiler said that i didn't define 'string'
after that I try:
g++ -I/usr/include/g++-3
so compiler said that I didn't defien 'size_t'
--
Summary: bad include
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P1
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: piotoru at zodiac dot mimuw dot edu dot pl
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i486-pc-linux
GCC host triplet: i486-pc-linux
GCC target triplet: i486-pc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13790