https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67547

--- Comment #2 from BENAÏSSA <ka_bena at yahoo dot fr> ---
Thank you very much for your reply.                                        
A.Benaïssa



     Le Vendredi 11 septembre 2015 13h25, pinskia at gcc dot gnu.org
<gcc-bugzi...@gcc.gnu.org> a écrit :


 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67547

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

          What    |Removed                    |Added
----------------------------------------------------------------------------
            Status|UNCONFIRMED                |RESOLVED
        Resolution|---                        |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Report this to mingw since that is where printf comes from (though it might
come directly from Microsoft's libc).

Also by the way nexttowardf is C99 and not C89 so I am getting warnings with
glibc and C89:
t1.c: In function 'main':
t1.c:6:20: warning: implicit declaration of function 'nexttowardf'
[-Wimplicit-function-declaration]
  printf("  %E\n", nexttowardf ( 0.F , 1.F ) ) ;
                    ^
t1.c:6:10: warning: format '%E' expects argument of type 'double', but argument
2 has type 'int' [-Wformat=]
  printf("  %E\n", nexttowardf ( 0.F , 1.F ) ) ;
          ^
t1.c:7:10: warning: format '%A' expects argument of type 'double', but argument
2 has type 'int' [-Wformat=]
  printf("  %A\n", nexttowardf ( 0.F , 1.F ) ) ;
          ^
t1.c:8:20: warning: implicit declaration of function 'nexttoward'
[-Wimplicit-function-declaration]
  printf("  %A\n", nexttoward  ( 0.  , 1.  ) ) ;
                    ^
t1.c:8:10: warning: format '%A' expects argument of type 'double', but argument
2 has type 'int' [-Wformat=]
  printf("  %A\n", nexttoward  ( 0.  , 1.  ) ) ;

Reply via email to