Bläddra i källkod

I think this is what you mean

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser 10 år sedan
förälder
incheckning
fb1752b604
1 ändrade filer med 2 tillägg och 3 borttagningar
  1. 2 3
      libc/stdio/_scanf.c

+ 2 - 3
libc/stdio/_scanf.c

@@ -553,9 +553,8 @@ enum {
 /**********************************************************************/
 /**********************************************************************/
 
 
 #ifdef L_vfwscanf
 #ifdef L_vfwscanf
-/* FIXME: "warning: the right operand of ">" changes sign when promoted" */
+#if WINT_MIN > WEOF
-#if WINT_MIN > EOF
+#error Unfortunately, we currently need wint_t to be able to store WEOF.  Sorry.
-#error Unfortunately, we currently need wint_t to be able to store EOF.  Sorry.
 #endif
 #endif
 #define W_EOF WEOF
 #define W_EOF WEOF
 #define Wint wint_t
 #define Wint wint_t