[vtk-developers] (Another) bug in MS Visual Studio

Bill Hoffman bill.hoffman at kitware.com
Thu May 30 08:29:31 EDT 2002


I guess this was an ansi change, that MS decided not to go with, so that
they could remain more compatible with "C":

http://www.glenmccl.com/ansi_014.htm


It would seem that the sun compiler can do both:
http://sundocs.princeton.edu:8888/ab2/coll.32.5/CPPMIGRATE/@Ab2PageView/idmatch(BAJBEBBG)

At 10:28 AM 5/30/2002 +0100, John Biddiscombe wrote:


>> Actually, if you said 1 you are right - because you have your test
>> backwards! :-)
>>
>> I think the problem is that string literals are of type char * even though
>> they can't be modified....
>
>Borland gives 1 (I guessed 0 expecting const char * )
>
>JB
>
>_______________________________________________
>vtk-developers mailing list
>vtk-developers at public.kitware.com
>http://public.kitware.com/mailman/listinfo/vtk-developers 




More information about the vtk-developers mailing list