From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 Description of problem: When there is a directory in the include path whose name is the same of a standard header, and a program tries to include the standard header, g++ will fail to compile the program. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Create a directory called memory. 2. Compile the file below. #include <memory> Actual Results: [wtcorrea@neon17 wtcorrea]$ g++ -I. -c x.cpp x.cpp:1:18: memory is a directory Expected Results: g++ should ignore the memory directory, and look for a file called memory in the include path. Additional info: gcc-2.96-108.7.2
An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2002-200.html