Mailinglist Archive: opensuse-bugs (8956 mails)

< Previous Next >
[Bug 213892] New: gcc fails to warn about incorrect printf usage
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 20 Oct 2006 07:08:05 -0600 (MDT)
  • Message-id: <bug-213892-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=213892

Summary: gcc fails to warn about incorrect printf usage
Product: openSUSE 10.2
Version: Alpha 5 plus
Platform: Other
OS/Version: Linux
Status: NEW
Severity: Minor
Priority: P5 - None
Component: Development
AssignedTo: matz@xxxxxxxxxx
ReportedBy: max@xxxxxxxxxx
QAContact: qa@xxxxxxx


The following line from spandsp-0.0.3pre24, which has more format specifiers
than arguments following the format, gets a "warning: too few arguments for
format" on s390 and s390x, but not on any other platform:

printf("v = %10.5f %5d - %f %f %d %d\n", v, i, p,
s->baud_phase, s->total_baud_timing_correction);


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >
Follow Ups