[cfe-dev] Help: compiler's error using -stdlib=libc++ with clang++-3.8
zosrothko via cfe-dev
cfe-dev at lists.llvm.org
Sat Jul 22 10:36:06 PDT 2017
Le 22/07/2017 à 19:26, Joerg Sonnenberger a écrit :
> On Sat, Jul 22, 2017 at 09:54:03AM +0200, zosrothko via cfe-dev wrote:
>> * clang++-3.8 -std=c++11 bug.cpp compiles fine while
>> * clang++-3.8 -std=c++11 -stdlib=libc++ bug.cpp produces invalid
>> compile errors.
> Missing include of <cstddef>?
Not really , it is included...below the first five lines of bug.cpp
#include <iostream>
#include <cstddef>
#ifdef Header
#undef Header
#endif
>
> Joerg
More information about the cfe-dev
mailing list