[vtkusers] A fix for MSVC warning D9025: overriding '/W1' with '/w'
cory.quammen at kitware.com
Wed Sep 23 09:54:31 EDT 2015
This does sound like a good patch. Would you mind contributing it via our
gitlab contribution process? Please see .
On Wed, Sep 23, 2015 at 9:46 AM, Niels Dekker - address until 2018 <
niels_dekker_address_until_2018 at xs4all.nl> wrote:
> Does anyone here think it would be nice to fix these MSVC warnings?
> Basically it's just a matter of replacing '/w' and '-w' by '/W0', in
> various CMake files of the VTK source tree, according to the
> patch/diff-file I attached last Sunday.
> On Sunday, September 20, I wrote:
>> When building VTK within Microsoft Visual Studio, I always get many
>> (20+) 'D9025' warnings, saying:
>> "cl : Command line warning D9025: overriding '/W1' with '/w'"
>> These warnings appear useless and distracting to me. Can someone
>> please fix this issue?
>> The issue can be fixed by using '/W0', instead of '-w' or '/w', to
>> disable MSVC warnings. It should be fixed in the following six files:
>> I encountered these warnings on any version of VTK, CMake, and Visual
>> Studio that I tried recently, including the latest releases, VTK
>> 6.3.0, CMake 3.3.2, and Visual Studio 2015 (but also Visual Studio 2010).
>> ITK used to have the same issue. My fix for the ITK issue was included
>> with ITK 4.8.0. It was discussed at the ITK users mailing list:
>> ITK patch is at: http://review.source.kitware.com/#/c/19311/
>> A patch (unified diff) for VTK is hereby attached. Can someone please
>> commit + push it to Kitware's VTK GIT, for me?
> Kind regards, Niels
> Niels Dekker
> Scientific programmer
> LKEB, Division of Image Processing
> Leiden University Medical Center
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers