Carl Daniel [VC++ MVP] <(E-Mail Removed)> wrote:
> [...]
> May you should try re-writing the code in question using a radically
> different style.
No way. This underlies a fairly important
part of the app. Re-designing this means
another three weeks and we are days from
a deadline.
> It seems likely that you're encountering a fairly obscure
> bug in which the compiler emits two different bodies for the a single
> template instantiation.
I don't understand this.
I suspected that it would emit two equal
bodies for different instances? But you
say, it's the other way around???
> > And, of course, if I check this in, the build
> > might fail, too. So I'm sitting on this file
> > and don't know what to do!
>
> Call Product Support.
It would take days (at least!) to sort
this out through support channels. I
am after an idea what to do today. The
problem is hard to reproduce, since
changing the source file back and forth
makes it (dis-)appear.
This puzzles me the most. Is there any
files (besides PCH's which aren't used
here) where the compiler saves any
state info between compiles???
> -cd
Schobi
--
(E-Mail Removed) is never read
I'm Schobi at suespammers dot org
"Sometimes compilers are so much more reasonable than people."
Scott Meyers