[vtk-developers] what is the preprocessor macro for VS6?

Bill Lorensen bill.lorensen at gmail.com
Tue Apr 21 23:16:09 EDT 2009


Philippe,

The statement:
 buffer.append( "0" );
should be:
 buffer.append(1,0);

The latter is equivalent to:
buffer.push_back(0)
while the former is not.

Bill

On Tue, Apr 21, 2009 at 5:34 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> #if defined(_MSC_VER) && (_MSC_VER <= 1200)
>
> should do it.
>
> On Tue, Apr 21, 2009 at 5:24 PM, Philippe P. Pebay <pppebay at sandia.gov> wrote:
>> What is "cl"?
>>
>> Thanks
>> P
>>
>> Brad King wrote:
>>>
>>> Francois Bertel wrote:
>>>>
>>>> I read to fast, _MSC_VER seems to be 600 for the C compiler but 1200
>>>> for the C++ compiler.
>>>
>>> No, it's 1200 for both.  The version of the C compiler that comes with
>>> Visual C++ 6 is actually "12.00".  Run "cl" with no arguments to see it.
>>>
>>> -Brad
>>>
>>
>>
>> --
>> Philippe Pébay
>> Sandia National Laboratories
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
>



More information about the vtk-developers mailing list