[Paraview] CVS head fails to compile on MSVC

Moreland, Kenneth kmorel at sandia.gov
Wed Apr 2 09:40:57 EDT 2008


No.  Its that snprintf is not part of the POSIX standard, and none of the Microsoft compilers contain an implementation.

Utkarsh, I'll leave it to you to fix this.

-Ken

> -----Original Message-----
> From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org]
> On Behalf Of Mike Jackson
> Sent: Wednesday, April 02, 2008 7:36 AM
> To: OSHIMA Takuya
> Cc: paraview at paraview.org
> Subject: Re: [Paraview] CVS head fails to compile on MSVC
>
> I saw that yesterday also.. I just thought it was something messed up
> with my environment. Good to know it wasn't.
>
> On Wed, Apr 2, 2008 at 9:12 AM, OSHIMA Takuya
> <oshima at eng.niigata-u.ac.jp> wrote:
> > Hi,
> >
> >  I just noticed today's CVS head fails to compile on VS2008 at line 540
> >  of Servers/Common/vtkPVXMLElement.cxx:
> >
> >       snprintf(temp, 20, "&#x%x;", static_cast<int>(*escape_char));
> >
> >  with error C3861: 'snprintf': identifier not found.
> >
> >  Cheers,
> >  Takuya
> >  _______________________________________________
> >  ParaView mailing list
> >  ParaView at paraview.org
> >  http://www.paraview.org/mailman/listinfo/paraview
> >
>
>
>
> --
> Mike Jackson
> imikejackson _at_ gee-mail dot com
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview




More information about the ParaView mailing list