r244961 - [SPARC] Fix types of size_t, intptr_t, and ptrdiff_t on OpenBSD.

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 13 15:01:08 PDT 2015


On Thu, Aug 13, 2015 at 2:45 PM, Brad Smith via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
> Author: brad
> Date: Thu Aug 13 16:45:57 2015
> New Revision: 244961
>
> URL: http://llvm.org/viewvc/llvm-project?rev=244961&view=rev
> Log:
> [SPARC] Fix types of size_t, intptr_t, and ptrdiff_t on OpenBSD.
>
> Modified:
>     cfe/trunk/lib/Basic/Targets.cpp
>     cfe/trunk/test/Preprocessor/init.c

This seems to have broken the build. For example, from
http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/29920/steps/compile/logs/stdio:

/home/llvmbb/llvm-build-dir/clang-x86_64-debian-fast/llvm.src/tools/clang/lib/Basic/Targets.cpp:5752:36:
error: base class has incomplete type
class SparcV8elTargetInfo : public SparcV8TargetInfo {
                            ~~~~~~~^~~~~~~~~~~~~~~~~
/home/llvmbb/llvm-build-dir/clang-x86_64-debian-fast/llvm.src/tools/clang/lib/Basic/Targets.cpp:5725:7:
note: definition of '(anonymous namespace)::SparcV8TargetInfo' is not
complete until the closing '}'
class SparcV8TargetInfo : public SparcTargetInfo {
      ^
/home/llvmbb/llvm-build-dir/clang-x86_64-debian-fast/llvm.src/tools/clang/lib/Basic/Targets.cpp:5929:40:
error: non-friend class member 'BuiltinInfo' cannot have a qualified
name
const Builtin::Info SystemZTargetInfo::BuiltinInfo[] = {
                    ~~~~~~~~~~~~~~~~~~~^


More information about the cfe-commits mailing list