Pete's Log: doh!

Entry #876, (Coding, Hacking, & CS stuff)
(posted when I was 22 years old.)

so here's something fun that took me a second to realize what was going on. Compiling, with g++, some code that uses STL stuff, and using "-I." on the command line, I got a funky error:
In file included from /usr/lib/gcc-lib/i386-linux/2.95.3/../../../../include/g++-3/stl_algobase.h:52,
                 from /usr/lib/gcc-lib/i386-linux/2.95.3/../../../../include/g++-3/stl_tree.h:56,
                 from /usr/lib/gcc-lib/i386-linux/2.95.3/../../../../include/g++-3/map:31,
                 from blah.cc:1:
/usr/lib/gcc-lib/i386-linux/2.95.3/include/new.h:6: directory `new' specified in #include

After a "huh!" and a second, I realized I had a directory called "new" in my current directory. Moving it, the error went away. But after some experimentation, neither CC nor KCC seem to have this problem. So whatever.