On Fri, 12 Nov 2010, Frederic Bouvier wrote:


----- "Gene Buckle" a écrit :

On Fri, 12 Nov 2010, Curtis Olson wrote:

> Are you able to test local changes?  What would happen if you
changed line
> #203 of simgear/io/raw_socket.cxx to:
>
>    setsockopt( handle, SOL_SOCKET, SO_REUSEADDR,
>                (void *)&opt_boolean, sizeof(opt_boolean) );
>
> In other words, insert (void *) in front of &opt_boolean
>
This is the result:

   (Build target) ->
     ..\..\simgear\io\raw_socket.cxx(203): error C2664: 'setsockopt' :
cann
   ot convert parameter 4 from 'void *' to 'const char *'

A fix is committed


Thanks Fred!  We're back to a green board. :D

g.

--
Proud owner of F-15C 80-0007
http://www.f15sim.com - The only one of its kind.
http://www.simpits.org/geneb - The Me-109F/X Project

ScarletDME - The red hot Data Management Environment
A Multi-Value database for the masses, not the classes.
http://www.scarletdme.org - Get it _today_!

Political correctness is a doctrine, fostered by a delusional, illogical
minority, and rabidly promoted by an unscrupulous mainstream media, which
holds forth the proposition that it is entirely possible to pick up a turd
by the clean end.
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to