------- Comment #2 from  2009-02-05 04:16 -------
> that's not a bug if you look at it a different way; -o- is to allow generating
> ddoc output without having to run everything.

not everything, just object file generation

> OTOH if you see it as run a test build but don't generate object files...

well then this feature should be better documented, because *some* semantic
analysis is *done* with -o- switch. I suspect that this surprise only pops up
when compiler tries to build class's vtbl at codegen step, which means that
semantic analysis is not fully done at right time. I intensively use gcc
-fsyntax-only and never run into trouble with it, in spite of the switch name,
it seems like it does full semantic analysis.


Reply via email to