ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] clang 17 and stddef.h
@ 2023-10-03 19:42 Vitaly Lipatov
  2023-10-04  9:43 ` Arseny Maslennikov
  0 siblings, 1 reply; 2+ messages in thread
From: Vitaly Lipatov @ 2023-10-03 19:42 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

$ 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-04  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-03 19:42 [devel] clang 17 and stddef.h Vitaly Lipatov
2023-10-04  9:43 ` Arseny Maslennikov

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