This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11242] New: #include <memory> takes my memory directory instead of the standard memory header file
- From: "lecroart at nevrax dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jun 2003 15:35:36 -0000
- Subject: [Bug c++/11242] New: #include <memory> takes my memory directory instead of the standard memory header file
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11242
Summary: #include <memory> takes my memory directory instead of
the standard memory header file
Product: gcc
Version: 3.2.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: lecroart@nevrax.com
CC: gcc-bugs@gcc.gnu.org
$ gcc --version
gcc (GCC) 3.2.3 20030331 (Debian prerelease)
Imagine that I have a project directory "project" and a subdirectory "memory"
with some file to manage my memory.
If I have a cpp file with #include <memory> and the gcc command line have -
Iproject g++ will take my memory directory instead of the standard memory
header. It should know that my memory is not a file but a directory and try to
find another memory (the standard one).
I didn't find somewhere in the ANSI C++ doc an explaination if it's a bug or a
feature.
Vianney.