On 1 Apr 2003, Alexandre Julliard wrote:
"Dimitrie O. Paun" dimi@intelliware.ca writes:
True, but why do we need the -I.? Do we need to ever include anything from the current build dir?
Yes, some headers are generated, for instance the y.tab.h files.
Shouldn't these be included with #include "y.tab.h"? In that case -I. should be unnecessary no?
Though it does not appear to be specified in the standard, all compilers I know of first look for y.tab.h in the current directory if included using quotes.