This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Source directory override with #include "..."
- From: Arnaud Lacombe <lacombar at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 8 Sep 2011 21:27:50 -0400
- Subject: Source directory override with #include "..."
Hi folks,
There do not seem to be any other way to override the source directory
in the search path for #include "...", than using -Ioverride -I-.
However, -I- has been marked deprecated. If the removal ever occurs,
there will be no way to do the override.
Isn't it an option which should be available to the user ?
Thanks,
- Arnaud