This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13790] New: bad include


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]