r205840 - Sema::SectionInfo: Prune "default" for now. Defaulted function is unavailable on msc17.

Alexander Potapenko glider at google.com
Wed Apr 9 01:47:21 PDT 2014


This broke the build on our internal ASan bots:

/usr/local/google/dtoolsbot/slave/linux/build/llvm-build/Release+Asserts/lib/libclangSema.a(SemaAttr.o):
In function `clang::Sema::UnifySection(llvm::StringRef const&, int,
clang::DeclaratorDecl*)':
SemaAttr.cpp:(.text._ZN5clang4Sema12UnifySectionERKN4llvm9StringRefEiPNS_14DeclaratorDeclE+0x465):
undefined reference to `clang::Sema::SectionInfo::SectionInfo()'
/usr/local/google/dtoolsbot/slave/linux/build/llvm-build/Release+Asserts/lib/libclangSema.a(SemaAttr.o):
In function `clang::Sema::UnifySection(llvm::StringRef const&, int,
clang::SourceLocation)':
SemaAttr.cpp:(.text._ZN5clang4Sema12UnifySectionERKN4llvm9StringRefEiNS_14SourceLocationE+0x75):
undefined reference to `clang::Sema::SectionInfo::SectionInfo()'
collect2: error: ld returned 1 exit status
make[4]: *** [/usr/local/google/dtoolsbot/slave/linux/build/llvm-build/Release+Asserts/bin/clang-check]
Error 1
make[4]: Leaving directory
`/usr/local/google/dtoolsbot/slave/linux/build/llvm-build/tools/clang/tools/clang-check'

On Wed, Apr 9, 2014 at 11:59 AM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
> Author: chapuni
> Date: Wed Apr  9 02:59:55 2014
> New Revision: 205840
>
> URL: http://llvm.org/viewvc/llvm-project?rev=205840&view=rev
> Log:
> Sema::SectionInfo: Prune "default" for now. Defaulted function is unavailable on msc17.
>
> Modified:
>     cfe/trunk/include/clang/Sema/Sema.h
>
> Modified: cfe/trunk/include/clang/Sema/Sema.h
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/Sema.h?rev=205840&r1=205839&r2=205840&view=diff
> ==============================================================================
> --- cfe/trunk/include/clang/Sema/Sema.h (original)
> +++ cfe/trunk/include/clang/Sema/Sema.h Wed Apr  9 02:59:55 2014
> @@ -7089,7 +7089,7 @@ public:
>      DeclaratorDecl *Decl;
>      SourceLocation PragmaSectionLocation;
>      int SectionFlags;
> -    SectionInfo() = default;
> +    SectionInfo();
>      SectionInfo(DeclaratorDecl *Decl,
>                  SourceLocation PragmaSectionLocation,
>                  int SectionFlags)
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



-- 
Alexander Potapenko
Software Engineer
Google Moscow



More information about the cfe-commits mailing list