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++/11242] New: #include <memory> takes my memory directory instead of the standard memory header file


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.


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