[Top][All Lists]

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

Re: Incompatibilities with clang.

From: Matt Sicker
Subject: Re: Incompatibilities with clang.
Date: Sun, 3 Nov 2013 11:30:18 -0600


#ifndef __has_feature
#define __has_feature(x) 0
#if __has_feature(c_static_assert)

On 3 November 2013 01:55, Paul Eggert <address@hidden> wrote:
Matt Sicker wrote:
> For instance, clang
> supports both C and C++ static asserts, yet gnulib doesn't use them when
> compiling with clang.

How is code supposed to decide whether the current clang supports
_Static_assert?  The documentation isn't clear.

Matt Sicker <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]