[tools-compilers] preprocessor output warning

2008-11-18 Thread James Carlson
William Fulton writes: > > Have you tried "CC -E runme.cxx"? > > > > > Indeed and that works, but ccache doesn't attempt to tweak the compiler > options to suite. The problem is the interpretation of -c is slightly > different with gcc, which is basically saying don't link, whereas CC > seems

[tools-compilers] preprocessor output warning

2008-11-17 Thread William Fulton
James Carlson wrote: > William Fulton writes: > >> When I run the Sun Workshop compiler to get the preprocessor output using >> -E, a warning is generated, for example: >> >> $ CC -c -E runme.cxx > runme.i >> CC: Warning: "-E" redefines product from "object" to "source (stdout)" >> > > That

[tools-compilers] preprocessor output warning

2008-11-17 Thread James Carlson
William Fulton writes: > When I run the Sun Workshop compiler to get the preprocessor output using > -E, a warning is generated, for example: > > $ CC -c -E runme.cxx > runme.i > CC: Warning: "-E" redefines product from "object" to "source (stdout)" That looks to me like user error -- "-c" means

[tools-compilers] preprocessor output warning

2008-11-15 Thread William Fulton
When I run the Sun Workshop compiler to get the preprocessor output using -E, a warning is generated, for example: $ CC -c -E runme.cxx > runme.i CC: Warning: "-E" redefines product from "object" to "source (stdout)" How can I suppress this warning? -errtags doesn't give it a tag name so it can'