
Signature
SpamTrap@gmx.de is never read
I'm Schobi at suespammers dot org
"Sometimes compilers are so much more reasonable than people."
Scott Meyers
> Hi,
>
[quoted text clipped - 15 lines]
> Is this a known issue or should I try to reduce
> the code to a repro case?
Well, if getFlag throws something that isn't based on std::exception,
your program will fail. So the compiler is right; it has to warn you
about the missing return.
Thorsten
Hendrik Schober - 05 Dec 2003 09:41 GMT
> > Hi,
> >
[quoted text clipped - 19 lines]
> your program will fail. So the compiler is right; it has to warn you
> about the missing return.
Oh, yes, 'getFlag()' doesn't have a 'throw'
specification!
Thanks!
> Thorsten
Schobi

Signature
SpamTrap@gmx.de is never read
I'm Schobi at suespammers dot org
"Sometimes compilers are so much more reasonable than people."
Scott Meyers