[Coin-discuss] _CRT_SECURE_NO_WARNINGS

Matthew Galati magh at lehigh.edu
Sun Nov 16 14:47:21 EST 2008


I believe I have filed tickets for every warning in every project I use 
-- long ago. But, I can check again.


> This is uglier... We probably should create a CoinFopen that hides 
> fopen/fopen_s... then all warnings would go away...
>
> File a ticket against CoinUtils and during the next bug squashing 
> party we'll try to take care of it. Maybe sooner, but it's a royal 
> pain to go through everything :-).
>
> In the meantime we can add the define (though it violates what 
> you/Stefan/Leo was saying :-)
>
> Cheers,
> --Laci
>
> On Sun, 16 Nov 2008, Matthew Galati wrote:
>
>   
>> In CLP and CBC, there are a LOT of these type of warnings. If we don't
>> plan to fix them, can someone update the MSVS projects to include the
>> define _CRT_SECURE_NO_WARNINGS ?
>>
>> Warning    22    warning C4996: 'fopen': This function or variable may
>> be unsafe. Consider using fopen_s instead. To disable deprecation, use
>> _CRT_SECURE_NO_WARNINGS. See online help for details.
>> c:\cygwin\home\magala\coin\coin-decomp\clp\src\clpmain.cpp    722
>>
>>
>> _______________________________________________
>> Coin-discuss mailing list
>> Coin-discuss at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/coin-discuss
>>
>>     
>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
>   





More information about the Coin-discuss mailing list