Re: VC++ :: C2912 Error Question
From: Hendrik Schober (SpamTrap_at_gmx.de)
Date: 12/10/04
- Next message: Bonj: "Re: Version of NMAKE"
- Previous message: Bonj: "Re: Version of NMAKE"
- In reply to: David Lowndes: "Re: VC++ :: C2912 Error Question"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 10 Dec 2004 16:43:06 +0100
David Lowndes <davidl@example.invalid> wrote:
> [http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx?feedbackid=3facc81f-3912-493b-944d-0faf24fe32c8]
> No problem - have a look at MS's response to the report - they have an
> explanation.
Too bad they won't fix this. While one day
all C++ compilers will probably do that,
until then this will remain a bug for all
compilers except VC. (And rightly so --
currently this /is/ a bug.)
I have this problem, too, and it's realy
annoying. I am writing a lot of template
code that's ported to other platforms.
I often create specializations by copy-
pasting the original template and forget
to remove superflous 'typename's -- and
the compiler doesn't bark at me. When
this code then is ported the developer
doing this has to understand the error
message, the problem, how to fix this,
and the impact onto other platforms. ("Do
I need to surround this fix with '#ifdef'
because /my/ compiler is broken or am I
doing the right thing?") While all this
certainly is doable, it is also tedious,
error prone, and steals our time.
I have actually started to write template
code using CodeWarrior first and porting
it to VC, because of this, missing two-
phase lookup (which is even worse!) and
some other quirks in VC. (And I hate CW's
IDE!)
> Dave
> [...]
Schobi
-- SpamTrap@gmx.de is never read I'm Schobi at suespammers dot org "The presence of those seeking the truth is infinitely to be prefered to those thinking they've found it." Terry Pratchett
- Next message: Bonj: "Re: Version of NMAKE"
- Previous message: Bonj: "Re: Version of NMAKE"
- In reply to: David Lowndes: "Re: VC++ :: C2912 Error Question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|