https://bugs.llvm.org/show_bug.cgi?id=37350
Tim Northover <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
CC| |[email protected]
--- Comment #1 from Tim Northover <[email protected]> ---
> But since it is inside a section of code that is declared as C, I don't think
> that there should be any warning.
This isn't what 'extern "C"' means. It changes the low-level name of functions
so that they can be conveniently called from C code, but the source inside an
'extern "C"' block is still normal C++. It can use the usual C++ style casts
and there's no more (or less) reason to prefer the old-style ones.
Also, this warning has to be enabled manually (it's not even in -Wall) so I see
no reason to change its behaviour inside that kind of block.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs