Ah, ok, that makes more sense. I didn't expand the little blurb so it
looked like foo.cc's foo.hh would be last and not first. But in the
example code it's first which would make that work.
Gabe
Quoting nathan binkert <[email protected]>:
I don't see how it avoids depending on transitive includes...
It's not perfect, but with it, every (or almost every) include file is
included first in at least one file. Since the file is first there
will have been no other includes from other files, and it will only
compile correctly if its own includes are correct.
Nate
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev