touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #78060
[Bug 1317305] Re: -Wno-format is not honored
Hello Steve, or anyone else affected,
Accepted gcc-4.8 into trusty-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/gcc-4.8/4.8.4-2ubuntu1~14.04 in a
few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Tags added: verification-needed
--
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