Open GoogleCodeExporter opened 8 years ago
What's the contents of test.c?
What's the contents of your current working directory when you run the
distcc-pump command? Does it have a "headers" subdirectory? Does that
subdirectory contain any files?
Original comment by fergus.h...@gmail.com
on 10 Jan 2013 at 1:19
Let's suppose a project with the following files:
file1.c
file2.c
headers/globals.h
file1.c includes "globals.h"
file2.c does not include it
Both files are compiled with the same CFLAGS, like this:
cc -c -Iheaders -Wmissing-include-dirs -Werror file1.c
cc -c -Iheaders -Wmissing-include-dirs -Werror file2.c
When compiling file1.c, headers/globals.h will be sent to the distcc server.
When compiling file2.c, it will not, because that header is not needed
to compile that file. However, -Wmissing-include-dirs will produce a
compilation warning, and together with -Werror it will make the
compilation fail.
Original comment by bino...@gmail.com
on 10 Jan 2013 at 3:51
Original issue reported on code.google.com by
bino...@gmail.com
on 10 Jan 2013 at 11:55