http://llvm.org/bugs/show_bug.cgi?id=6286
Kaelyn Uhrain <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution| |FIXED --- Comment #1 from Kaelyn Uhrain <[email protected]> 2012-06-22 16:46:50 CDT --- clang 3.1 gives a more detailed message for the original example, and it is a warning instead of an error: $ ./bin/clang -fsyntax-only t.cc t.cc:1:48: warning: comparison of distinct pointer types ('void **' and 'const void **') uses non-standard composite pointer type 'const void *const *' void test(void **a, void const **b) { (void)(a == b); } ~ ^ ~ 1 warning generated. The message is a tad cryptic in this case, but the key point is still rather clear: the comparison between the two different pointer types violates the C++ standard. -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
