Message ID | alpine.LSU.2.11.1408161340220.3591@tuna.site |
---|---|
State | New |
Headers | show |
On Aug 16, 2014, at 5:28 PM, Gerald Pfeifer <gerald@pfeifer.com> wrote: > The patch below shaves 404 warnings from stage 1 when bootstrapping > with clang 3.4.1 (i386-unknown-freebsd10.0). > > Regardless of whether we agree with that warning in clang, keeping > things consistent and not using struct once and class in other places > makes sense. And I believe Mike was affirmative re a similar patch > last month. Yes, regardless of what we think of clang, we did not intentionally want the tags to differ. > Applied. Thanks.
Index: wide-int.h =================================================================== --- wide-int.h (revision 214062) +++ wide-int.h (working copy) @@ -282,7 +282,7 @@ wi::int_traits <WI_UNARY_RESULT (T)>::get_binary_result (X, X); \ HOST_WIDE_INT *VAL = RESULT.write_val () -template <typename T> struct generic_wide_int; +template <typename T> class generic_wide_int; template <int N> struct fixed_wide_int_storage; class wide_int_storage;