[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-kbuild
Subject: Re: [PATCH] kbuild: make Clang build userprogs for target architecture
From: Miguel Ojeda <miguel.ojeda.sandonis () gmail ! com>
Date: 2020-06-30 19:12:54
Message-ID: CANiq72nE+1F3yM+e9XzfphzOe3mb9DUcRCAtPuLMyFE4Rh38pg () mail ! gmail ! com
[Download RAW message or body]
On Tue, Jun 30, 2020 at 6:26 PM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> I can reproduce this in the following
> simple test code:
>
>
> ----------------->8----------------
> #include <stdio.h>
>
> int main(void)
> {
> ssize_t x = 1;
>
> printf("%zd", x);
>
> return 0;
> }
> --------------->8-------------------
That is the old implicit int rule. Try including sys/types.h or
compiling with a standard like -std=c99 for instance.
Cheers,
Miguel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic