[cfe-dev] Function declaration not seen

Andrea D'Amore and.damore at macports.org
Tue Apr 1 01:21:45 PDT 2014


On Tue, Apr 1, 2014 at 12:30 AM, Richard Smith <richard at metafoo.co.uk> wrote:
> If there's a term.h in /opt/local/include, and input.c says
>   #include "term.h"
> then it's correct for Clang to find that one. #include only includes one
> file, not all files on all include paths with the specified name.

There is a term.h in /opt/local/include/ indeed, this was the most obvious
explanation and yet it didn't come to my mind.

Thanks for the heads-up.


-- 
Andrea



More information about the cfe-dev mailing list