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

Bill Lorensen bill.lorensen at gmail.com
Tue Apr 21 17:34:34 EDT 2009


#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