This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] support: Define support_static_assert for use from C and C++
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Mon, 1 Jan 2018 01:40:30 +0000
- Subject: Re: [PATCH] support: Define support_static_assert for use from C and C++
- Authentication-results: sourceware.org; auth=none
- References: <20171231192358.7F97E401BC22B@oldenburg.str.redhat.com>
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 '('.
--
Joseph S. Myers
joseph@codesourcery.com