This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] support: Define support_static_assert for use from C and C++


On 01/01/2018 02:40 AM, Joseph Myers wrote:
On Sun, 31 Dec 2017, Florian Weimer wrote:

@@ -96,14 +103,14 @@ void support_record_failure (void);
      __left_type __left_value = (left);                                  \
      __right_type __right_value = (right);                               \
      /* Prevent use with floating-point and boolean types.  */           \
-    _Static_assert ((__left_type) 1.0 == (__left_type) 1.5,             \
+    support_static_assert ((__left_type) 1.0 == (__left_type) 1.5,      \
                      "left value has floating-point type");              \

All these changes should reindent subsequent lines to line up
appropriately with the new position of '('.

I assumed that this would exceed the line length limit, but it turns out that this is not the case. I fixed this locally.

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]