[vtkusers] Error in compiling vtkGenericDataArray.txx

David Lonie david.lonie at kitware.com
Mon Apr 4 09:30:23 EDT 2016


Hmm, seems like our testing builds missed this error. Ben, is there another
windows build we should have? We do seem a bit light on windows release
builds.

As for the error, try adding:

#include <cassert>

to the top of vtkGenericDataArray.txx fix the error?

It should, and if so, I'll push a patch to fix it today.

Thanks for the report,
Dave

On Sun, Apr 3, 2016 at 11:57 PM, 徐志華 <zionman.hsu at gmail.com> wrote:

> while compiling nightly build vtk_master trunk, with DEBUG options
>
> there are many instance of error c2668:
>
> error c2668: '_wassert' : ambiguous call to overloaded function
>
> this error message is not exists while using RELEASE options.
>
> this error message exists either by Visual studio 2008 or by Visual studio
> 2015, this error message valid through XP, win7 and win10
>
> there are many occurency through building vtk library, and shows only with
> vtkGenericDataArray.txx
>
> is there any method or patch to bypass this error message
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160404/ecc29527/attachment.html>


More information about the vtkusers mailing list