Re: Include guards and inclusion order
On Dec 1, 10:13 pm, Johannes Bauer <dfnsonfsdu...@gmx.de> wrote:
robertwess...@yahoo.com schrieb:
While somewhat OT, GCC, and most other C and C++ compilers, can output
the source file after preprocessing is completed, which should let you
see what's actually been included. With GCC the option is likely "-E".
Yes it does - I've already looked into that. Results in a 1.5 MB large
file which is mostly STL. Probably useful if you could read it properly
- I can't, however :-/
That sounds like a problem with your tool set. Open it in your
editor, and search for symbols in question.
Not that it's really necessary here. It seems rather obvious
that you've got a cyclic dependency in your headers. You'll
have to break it somehow.
With good design, of course, it wouldn't be there to begin with,
so the correct solution is to go back and correct the design,
then recode. It will cost you a lot less time in the long run,
and possibly even in the short run as well.
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34