On Mon, Jul 22, 2013 at 10:20:54AM -0700, Alex Wang wrote: > One question, why do we have the "#line directive" in "lib/dirs.c.in"? > We have already created "dirs.c" in "lib/automake.mk". What is the > use of "#line directive" here?
dirs.c gets generated by search-and-replace on dirs.c.in. If there's a compiler warning or error we want it reported against dirs.c.in so that the developer doesn't waste time fixing the generated file, and that's what the #line directive does. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev