Re: [PATCH 2/3] build: rename conflicting parser.h instances

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 2013-11-19 21:25, Pablo Neira Ayuso wrote:

>On Sun, Oct 20, 2013 at 04:48:10PM +0200, Jan Engelhardt wrote:
>> If -I. is on the command line, #include <parser.h> becomes ./parser.h
>> instead of ../include/parser.h.
>
>What use case are you trying to handle with this?
>
automake adds -I${builddir} -I${srcdir} and -I{dir with config.h} to the 
command line. Because both ${builddir} and -I${top_srcdir}/include 
(which is also being passed, this time by Makefile.am), #include 
<parser.h> becomes sort of ambiguous (the compiler knows which one to 
pick, but it's not the one to success).
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux