Mercurial > mxe-octave
view src/build-m4-1-fixes.patch @ 3289:b28756fd131c
* src/build-msvctools/cc-msvc.cc: Allow to preprocess-only.
Make sure to run the compiler, and not the linker, when doing only
pre-processing. Required to compile libgpg_error, which pre-processes
a header file.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Thu, 07 Nov 2013 13:15:25 -0500 |
parents | 18158a101dc5 |
children |
line wrap: on
line source
diff -uNr a/lib/stdio.in.h b/lib/stdio.in.h --- a/lib/stdio.in.h 2011-03-01 11:39:29.000000000 -0500 +++ b/lib/stdio.in.h 2013-08-05 22:30:54.870325354 -0400 @@ -158,12 +158,6 @@ "use gnulib module fflush for portable POSIX compliance"); #endif -/* It is very rare that the developer ever has full control of stdin, - so any use of gets warrants an unconditional warning. Assume it is - always declared, since it is required by C89. */ -#undef gets -_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); - #if @GNULIB_FOPEN@ # if @REPLACE_FOPEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE)