Vivian Meazza wrote

> 
> Alan Teeder wrote
> 
> > >From this morning´s CVS I now get this with VC++ 2008 :-
> >
> > ------ Build started: Project: FlightGear, Configuration: Release
> > Win32 ------
> > Compiling...
> > WaypointList.cxx
> > ..\..\..\src\GUI\WaypointList.cxx(112) : error C2057: expected constant
> > expression
> > ..\..\..\src\GUI\WaypointList.cxx(112) : error C2466: cannot allocate an
> > array of constant size 0
> > ..\..\..\src\GUI\WaypointList.cxx(112) : error C2133: 'buf' : unknown
> size
> >
> > lines 111,112 are :-
> >
> >   int len = strlen(s);
> >   char buf[len];
> >
> 
> Yup - same here. Looks as if James has uploaded a new file which has
> incompatibilities with MSVC9
> 


Workaround attached - you might have done a better one already, but it does
allow a compile. I wouldn't dignify it as a fix :-)

Vivian

Attachment: Waypoint.diff
Description: Binary data

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to