>In a recent upgrade, we noticed that -I- functionality is being
>replaced with -iquote. This -iquote does not have the same
>functionality as -I- and is removing a strong function that is needed.
I wasn't around for the decision to remove the "don't search the
directory containing the current file" feature, but I can tell you
that it is impossible to use this feature safely on many current
operating systems, because the system header files expect that the
directory containing the current file *will* be searched. I even see
instances of this expectation in gcc itself (specifically, libstdc++)
--
$ echo '#include <tr1/cmath>' | gcc -E -I- -x c++ - > /dev/null
In file included from /usr/include/c++/4.3/tr1/cmath:63,
from <stdin>:1:
/usr/include/c++/4.3/tr1/gamma.tcc:55:35: error:
special_function_util.h: No such file or directory
zw