[systemd-devel] [PATCH] __thread --> thread_local for C11 compat

Shawn Landden shawn at churchofgit.com
Tue Dec 17 13:34:53 PST 2013


On Tue, Dec 17, 2013 at 12:46 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Sun, 15.12.13 16:19, Shawn Landden (shawn at churchofgit.com) wrote:
>
>> to actually use this we would have to add this patch:
>>
>> diff --git a/configure.ac b/configure.ac
>> index f85e86e..5ead127 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -113,6 +113,7 @@ AS_IF([test "x$enable_address_sanitizer" = "xyes"], [
>>        ])
>>
>>  CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
>> +        -std=gnu11 \
>>          -pipe \
>>          -Wall \
>>          -Wextra \
>
> Hmm, why is this necessary?
It is not. Let us wait until we actually need gnu11 for something to
switch to it.
>
> Lennart
>
> --
> Lennart Poettering, Red Hat
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list