|
|
Darren New wrote:
> And I compile A.c, then change A.h to put the member variables in the
> opposite order, then compile B.c, and link the results together, you're
> telling me the C++ standard tells me that shouldn't link?
>
> I'm impressed.
Actually, I think I misunderstood what you said before. Anyway, with
the example you cite, any modern IDE would notice that A.h had changed
and recompile A.c. I have no idea what would happen if you forced it to
link against the old version, but probably the crashes you mentioned.
However, I really have to question the validity of your grief... after
all, explicitly linking against an out of date binary is bound to cause
trouble for you no matter what.
--
...Ben Chambers
www.pacificwebguy.com
Post a reply to this message
|
|