[Osi] warning on comment in OsiSolverInterface.hpp (trunk)

John Forrest john.forrest at fastercoin.com
Sat Jan 8 04:47:30 EST 2011


Matt,

Apologies - I just got tired of getting compiler warnings on gcc.  I
forgot that MSVS doesn't like */*.  I have changed it to * /* as Matt
Saltzman suggested (and compiled it under MSVS).

John

On Fri, 2011-01-07 at 16:01 -0500, Matthew Galati wrote:
> Not sure what was meant here - but MSVS is giving a warning.
> 
> "otherInformation" is not actually used in the function, so it
> compiles, but can we remove the comment to clear up the warning?
> 
>   virtual bool setHintParam(OsiHintParam key, bool yesNo=true,
>                   OsiHintStrength strength=OsiHintTry,
>                   void */*otherInformation*/ = NULL) {
> 
> 6>c:\cygwin\home\magala\coin\coin-dip\osi\src\osi
> \osisolverinterface.hpp(288) : warning C4138: '*/' found outside of
> comment
> 8>Compiling...
> 
> _______________________________________________
> Osi mailing list
> Osi at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/osi





More information about the Osi mailing list