Date: Tue, 04 Apr 1995 21:10:22 -0500 (CDT) From: Aaron Ucko Subject: Re: vs vs <_string.h> To: steve AT acadcomp DOT sil DOT org Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Organization: Rockhurst College; Kansas City, MO >it's been awhile since i've dipped into C++ with DJGPP, but i did today and >ran into trouble with "#include ": gcc is reading from >c:/djgpp/include instead of <_string.h> from c:/djgpp/cplusinc. if i >change "#include " to "#include <_string.h>", it works fine. >isn't this supposed to be automatic? The output from gcc follows: Nope; if you want automaticity, try `#include ' (although that _was_ broken in early 1.12 :-( ). The reason String.h was renamed _string.h is that the MSDOS FS is case insensitive, so the C preprocessor won't do the right thing unless you perform such a renaming. --- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) | httyp! Geek code 2.1 [for explanation, finger hayden@ | `God's Laws' (Rudy Rucker, vax1.mankato.msus.edu]: GCS/M/S d(-) H s g+ p? \ _Master of Space and Time_): !au a17 w+ v+(++) C++(+++)>++++ UL++(S+)>++++ \ 1) Be clean. 2) Follow Gary. P+(++) L++ 3(-) E- N+(++) K- W--(---) M-@ V-(--) \ 3) Teach God's Laws. po-(--) Y+ t(+) !5 j(++) R(-) G' tv--(-) b+++ +--------------------------- !D(--) B--(---) e>++++(*) u++(@) h!() f(+) r-(--)>+++ n+(-) y?