[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug default/21485] problems compiling with clang



https://sourceware.org/bugzilla/show_bug.cgi?id=21485

Jonathan Wakely <jwakely.gcc at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jwakely.gcc at gmail dot com

--- Comment #4 from Jonathan Wakely <jwakely.gcc at gmail dot com> ---
Surely this isn't right:

--- a/src/abg-comparison.cc     
+++ a/src/abg-comparison.cc     
@@ -2287,7 +2287,7 @@
distinct_diff::entities_are_of_distinct_kinds(type_or_decl_base_sptr first,
   if (first == second)
     return false;

-  return typeid(*first.get()) != typeid(*second.get());
+  return typeid( (*first.get()) != typeid((*second.get()));
 }

-- 
You are receiving this mail because:
You are on the CC list for the bug.