This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/64743] minor issue with the location of -Wlong-long
- From: "maltsevm at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 25 Jan 2015 15:49:34 +0000
- Subject: [Bug c/64743] minor issue with the location of -Wlong-long
- Auto-submitted: auto-generated
- References: <bug-64743-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64743
Mikhail Maltsev <maltsevm at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |maltsevm at gmail dot com
--- Comment #1 from Mikhail Maltsev <maltsevm at gmail dot com> ---
It's very easy to fix. In fact, I've already written a patch. But just one
clarification. Consider:
typedef void (*pf_t)(const long unsigned long *);
typedef unsigned long long int long_t;
clang always puts warnings at first "long". Same behavior for C89 and C++98.
Should we do the same or, maybe, point the warning to the beginning of type
specifiers/qualifiers list?