MSVC will warn the user when a declared return type of an extern "C" function is not C-compatible (http://msdn.microsoft.com/en-us/library/1e02627y(v=vs.100).aspx). This patch adds the same style of warning to clang, under the -Wreturn-type group, with test cases.
Is there a better way for me to check whether a type is "C compatible?" Thanks! ~Aaron
extern_c.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
