libio/strfile.h

John Carr jfc@tiac.net
Sun Sep 21 12:18:00 GMT 1997


libio has an internal header named strfile.h.  I tried to use g++ to
build a program which had its own file named strfile.h.  The program's
strfile.h was found instead of the compiler's.  strfile.h is not
specified in the draft ANSI C++ standard; nonstandard filenames should
have some compiler or library unique prefix (<libio/strfile.h>,
<g++-strfile.h>) to avoid this kind of problem.




More information about the Gcc-bugs mailing list