[Bug 1317305] Re: -Wno-format is not honored
Launchpad Bug Tracker
1317305 at bugs.launchpad.net
Sun May 18 21:04:30 UTC 2014
This bug was fixed in the package gcc-4.8 - 4.8.2-23ubuntu1
---------------
gcc-4.8 (4.8.2-23ubuntu1) utopic; urgency=medium
* Merge with Debian; remaining changes:
- Build from the upstream source.
gcc-4.8 (4.8.2-23) unstable; urgency=medium
* GCC 4.8.3 release candidate 1.
* Update to SVN 20140516 (r210514) from the gcc-4_8-branch.
* Apply the proposed patch for PR driver/61126.
* Update the libstdc++v-python3 patch. Closes: #748317.
* Update the gcc-default-format-security patch (Steve Beattie). LP: #1317305.
gcc-4.8 (4.8.2-22) unstable; urgency=medium
* Update to SVN 20140508 (r210209) from the gcc-4_8-branch.
* Install only versioned gcc-ar gcc-nm gcc-ranlib binaries for the hppa64
cross compiler, update hppa64 alternatives. Closes: #745967.
* Fix the as and ld symlinks for the hppa64 cross compiler.
* Ensure that the common libs (built from the next GCC version) are
available when building without common libs.
* Fix java.security symlink in libgcj14. Closes: #746786.
* Move the libstdc++ gdb pretty printers into libstdc++6, install the
-gdb.py files into /usr/share/gdb/auto-load.
* Set the 'Multi-Arch: same' attribute for packages, cross built with
with_deps_on_target_arch_pkgs=yes (Helmit Grohne). Closes: #716795.
* Build the gcc-X.Y-base package with with_deps_on_target_arch_pkgs=yes
(Helmit Grohne). Closes: #744782.
* Apply the proposed patch for PR driver/61106. Closes: #747345.
-- Matthias Klose <doko at ubuntu.com> Sun, 18 May 2014 15:20:05 +0200
** Changed in: gcc-4.8 (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1317305
Title:
-Wno-format is not honored
Status in “gcc-4.8” package in Ubuntu:
Fix Released
Status in “gcc-4.9” package in Ubuntu:
New
Bug description:
Due to the way the gcc-default-format-security patch is implemented in
gcc-4.8, disabling format warnings does not work:
$ cat format-extra-args.c
#include <stdio.h>
/* printf extra arguments example */
int main(void)
{
printf("%s\n", "argument 1", "argument 2");
return 0;
}
$ gcc -Wall -O2 -o format-off format-extra-args.c -Wno-format
format-extra-args.c: In function 'main':
format-extra-args.c:12:2: warning: too many arguments for format [-Wformat-extra-args]
printf("%s\n", "argument 1", "argument 2");
^
Earlier versions of gcc allowed disabling warnings correctly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1317305/+subscriptions
More information about the foundations-bugs
mailing list