Hi Charles,

* Charles Wilson wrote on Fri, Jan 30, 2009 at 05:34:08AM CET:
> See earlier reply in this thread for why we don't need to worry about
> any other magic MSVC macros. So, I think the only remaining
> cleanup-warnings patch for the cwrapper is this:
> 
> diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
> index 1c745f4..308a89a 100644
> --- a/libltdl/config/ltmain.m4sh
> +++ b/libltdl/config/ltmain.m4sh
> @@ -3110,6 +3110,9 @@ func_emit_cwrapperexe_src ()
>  */
>  EOF
>           cat <<"EOF"
> +#ifdef _MSC_VER
> +# define _CRT_SECURE_NO_DEPRECATE 1
> +#endif
>  #include <stdio.h>
>  #include <stdlib.h>
>  #ifdef _MSC_VER
> 
> OK to push?

Fine with me.  Thanks for working through this!

Cheers,
Ralf


Reply via email to