This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14791] [3.3/3.4/3.5 Regression] 13070 does not fix -Wformat with fprintf


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-31 00:31 -------
Confirmed, reduced testcase:
typedef struct _FILE FILE;
FILE *stderr;
extern "C" int fprintf (FILE *__restrict __stream,
                    __const char *__restrict __format, ...);
int main()
{
  fprintf(stderr, "%d\n", 1, 1);
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roger at eyesopen dot com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |diagnostic
      Known to fail|                            |3.3.3 3.4.0 3.5.0
      Known to work|                            |3.2.3
   Last reconfirmed|0000-00-00 00:00:00         |2004-03-31 00:31:24
               date|                            |
            Summary|13070 does not fix -Wformat |[3.3/3.4/3.5 Regression]
                   |with fprintf                |13070 does not fix -Wformat
                   |                            |with fprintf
   Target Milestone|---                         |3.4.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14791


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]