touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #85108
[Bug 1317305] Update Released
The verification of the Stable Release Update for gcc-4.8 has completed
successfully and the package has now been released to -updates.
Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report. In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
Fix Released
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