Displaying 5 results from an estimated 5 matches for "_libcpp_has_c11_features".
2013 May 13
2
[LLVMdev] ASan unit test/libcxx build break
...it says that on linux with --std=c++0x (or --std=c++11) the system
stdlib.h header must define aligned_alloc(). Really?
include/__config:
#if ( defined(__FreeBSD__) || defined(__linux__) ) && (__ISO_C_VISIBLE
>= 2011 || __cplusplus >= 201103L)
#define _LIBCPP_HAS_QUICK_EXIT
#define _LIBCPP_HAS_C11_FEATURES
#endif
include/cstdlib:
#include <__config>
#include <stdlib.h>
#ifdef _LIBCPP_HAS_C11_FEATURES
using ::aligned_alloc;
#endif
On Mon, May 13, 2013 at 9:37 AM, Kostya Serebryany <kcc at google.com> wrote:
> +eugenis
>
> I see this while running 'check-msan'.
&g...
2013 May 13
0
[LLVMdev] ASan unit test/libcxx build break
...x (or --std=c++11) the system
> stdlib.h header must define aligned_alloc(). Really?
>
> include/__config:
>
> #if ( defined(__FreeBSD__) || defined(__linux__) ) && (__ISO_C_VISIBLE
> >= 2011 || __cplusplus >= 201103L)
> #define _LIBCPP_HAS_QUICK_EXIT
> #define _LIBCPP_HAS_C11_FEATURES
> #endif
>
>
I added that line since libc on linux defines at_quick_exit.
>
> include/cstdlib:
>
> #include <__config>
> #include <stdlib.h>
> #ifdef _LIBCPP_HAS_C11_FEATURES
> using ::aligned_alloc;
> #endif
And yes my stdlib.h has
/usr/include/s...
2013 May 13
2
[LLVMdev] ASan unit test/libcxx build break
...t;> stdlib.h header must define aligned_alloc(). Really?
>>
>> include/__config:
>>
>> #if ( defined(__FreeBSD__) || defined(__linux__) ) && (__ISO_C_VISIBLE
>> >= 2011 || __cplusplus >= 201103L)
>> #define _LIBCPP_HAS_QUICK_EXIT
>> #define _LIBCPP_HAS_C11_FEATURES
>> #endif
>>
>
> I added that line since libc on linux defines at_quick_exit.
>
>
>>
>>
>> include/cstdlib:
>>
>> #include <__config>
>> #include <stdlib.h>
>> #ifdef _LIBCPP_HAS_C11_FEATURES
>> using ::aligned_allo...
2013 May 13
0
[LLVMdev] ASan unit test/libcxx build break
+eugenis
I see this while running 'check-msan'.
On Sun, May 12, 2013 at 9:10 PM, David Blaikie <dblaikie at gmail.com> wrote:
> Is no one else seeing this? (I've been seeing it for a few days)
>
> In file included from
>
> /usr/local/google/home/blaikie/dev/llvm/src/utils/unittest/googletest/gtest-all.cc:39:
> In file included from
>
>
2013 May 12
2
[LLVMdev] ASan unit test/libcxx build break
Is no one else seeing this? (I've been seeing it for a few days)
In file included from
/usr/local/google/home/blaikie/dev/llvm/src/utils/unittest/googletest/gtest-all.cc:39:
In file included from
/usr/local/google/home/blaikie/dev/llvm/src/utils/unittest/googletest/include/gtest/gtest.h:57:
In file included from