Bug ID | 917559 |
---|---|
Summary | gcc-5 -Wformat broken |
Classification | openSUSE |
Product | openSUSE Factory |
Version | 201502* |
Hardware | x86-64 |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Development |
Assignee | rguenther@suse.com |
Reporter | jslaby@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
$ cat | gcc-5 -x c - -c -o /dev/null -Wformat=2 #include <stdio.h> void x(unsigned short arg) { printf("%x\n", arg); } ^D gives: <stdin>: In function ���x���: <stdin>:5:16: warning: format ���%x��� expects argument of type ���unsigned int���, but argument 2 has type ���int��� [-Wformat=]