ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vitaly Lipatov <lav@etersoft.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] clang 17 and stddef.h
Date: Tue, 03 Oct 2023 22:42:36 +0300
Message-ID: <c17028e3d56d4acc30c5c2e60f169c5a@etersoft.ru> (raw)

Подскажите, как такое может быть:

$ cat z.c
#include <stdlib.h>
#include <unistd.h>
#include <string.h>

     int main(void)
     {
         return mkstemp("abc");
     }


$ clang z.c
In file included from z.c:1:
/usr/include/stdlib.h:32:10: fatal error: 'stddef.h' file not found
    32 | #include <stddef.h>
       |          ^~~~~~~~~~
1 error generated.

$ clang -v
ALT Linux Team clang version 17.0.1
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/i586-alt-linux/13
Found candidate GCC installation: 
/usr/bin/../lib64/gcc/x86_64-alt-linux/13
Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-alt-linux/13
Candidate multilib: .;@m64
Selected multilib: .;@m64

(это в hasher так, а в системе с Сизифом собирается)

-- 
С уважением,
Виталий Липатов,
Etersoft


             reply	other threads:[~2023-10-03 19:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-03 19:42 Vitaly Lipatov [this message]
2023-10-04  9:43 ` Arseny Maslennikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c17028e3d56d4acc30c5c2e60f169c5a@etersoft.ru \
    --to=lav@etersoft.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git