This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/64743] minor issue with the location of -Wlong-long


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]