【发布时间】:2014-01-02 10:41:11
【问题描述】:
升级到 Ubuntu 13.10 “Saucy”后,Clang 现在给我错误消息:
clang -Wall -Werror -std=c99 -ggdb -O0 5.1.c -o 5.1
In file included from 5.1.c:1:
/usr/include/stdio.h:33:11: fatal error: 'stddef.h' file not found
# include <stddef.h>
^
1 error generated.
make: *** [5.1] Error 1
顺便说一句,我包含的标题是 stdio.h 而不是 stddef.h 但我假设 stdio.h 引用或 #includes stddef.h
【问题讨论】:
标签: c linux ubuntu clang stdio