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 "produce an object file", while "-E" means "don't produce an object file; just dump preprocessor output." Have you tried "CC -E runme.cxx"? -- James Carlson, Solaris Networking <james.d.carlson at sun.com> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677