This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to use protoize ?
> From: Jim Wilson <wilson@tuliptree.org>
>
> Kaveh R. Ghazi wrote:
> > Ah, I see. When I used it previously it was on files in the gcc dir.
>
> It works by accident in this case. If your objdir is parallel to your
> srcdir, then the objdir/gcc relative header file names all start with
> ../../, and you get the same result if you incorrectly treat them as
> srcdir/gcc relative file names.
So when (if ever) does protoize work by design? :-)
(Perhaps if you don't have any -I flags?)
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu