Suppose you have the following bash script called  memory  in your current  
directory  
  
-------- memory -----------  
#/bin/sh  
-------- memory -----------  
  
and the following mini C++ file  
  
-------- hello.cxx ---------  
#include <iostream>  
-------- hello.cxx ---------  
  
calling now  
g++ -I . hello.cxx -c  
  
the compiler will print MANY errors.  
it looks like it will include the local file  memory  
  
Shouldn't <iostream> include the shipped <memory>?  
 
Regards Andre

-- 
           Summary: weird include path?
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: andre dot maute at gmx dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23051

Reply via email to