This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23051] New: weird include path?
- From: "andre dot maute at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2005 01:04:00 -0000
- Subject: [Bug c++/23051] New: weird include path?
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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