VC 6.0 gives compiler error for map 
Author Message
 VC 6.0 gives compiler error for map

Quote:

>Just a wild guess, but try removing some of the const qualifiers.

    We should strive to make our code more const-correct, instead of less
so.

    Try replacing the "iterator" with "const_iterator"

    Note, that the code, as posted except for a bit that was missing, added
at the end, compiles fine with vc5sp3

--
Truth,
   James [MVP]
http://www.*-*-*.com/       -and-
http://www.*-*-*.com/

begin 666 James M. Curran.vcf


M4DLZ.SLQ."!*;VAN(%-T+"!3=6ET92 R0CM";&]O;69I96QD.TY*.S W,# S
M+34Q-#D-"DQ!0D5,.U=/4DL[14Y#3T1)3D<]455/5$5$+5!224Y404),13HQ
M."!*;VAN(%-T+"!3=6ET92 R0CTP1#TP04)L;V]M9FEE;&0L($Y*(# W,# S
M+34Q-#D-"E523#IH='1P.B\O=W=W+DY*5&AE871E<BYC;VTO2F%M97-#=7)R
M86X-"E523#IH='1P.B\O=W=W+DY*5&AE871E<BYC;VT-"D5-04E,.U!2148[
M24Y415).150Z2F%M97-#=7)R86Y 0V]M<'5397)V92YC;VT-"E)%5CHQ.3DX

`
end



Sun, 29 Apr 2001 03:00:00 GMT  
 VC 6.0 gives compiler error for map

Quote:

>>Just a wild guess, but try removing some of the const qualifiers.

>    We should strive to make our code more const-correct, instead of less
>so.

>    Try replacing the "iterator" with "const_iterator"

>    Note, that the code, as posted except for a bit that was missing, added
>at the end, compiles fine with vc5sp3

>--

Agreed.  I was just trying to say that the problem might have something to
do with const-ness.


Sun, 29 Apr 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. STL Map Compiler Errors (VC++ 6.0)

2. Compiler errors using maps under VC++.NET

3. vc++ 6.0 sp5 internal compiler error with /EHa

4. vc 6.0 compiler errors

5. Error in VC 6.0 SP1 Compiler?

6. Error in VC 6.0 SP1 Compiler?

7. VC++6.0/SP3 Compiler Error: INTERNAL COMPILER ERROR

8. How to use VC 7.0 C++ compiler from VC 6.0 IDE

9. Link Errors in VC.net that don't appear in VC 6.0

10. VC 4.2 link error linking static libraries from VC 6.0

11. VC 6.0 -> VC 5.0 Error

12. VC-- 6.0 STL map compiler err (compiled in VC-- 5.0)

 

 
Powered by phpBB® Forum Software