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++/82316] unexpected warning for using 'register' storage class in extern "C" declarations


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82316

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
extern "C" just means the linkage and not actual C code.

This is true with other differences between C and C++ like auto and typedef of
void types and arguments.

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