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
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
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
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'