将我的C程序从线程、POSIX、切换到C11标准的。
从2019年起我就在MAC上了。下面是我的错误和gcc的-version输出。
如何升级到使用?
问题是7年前说它不被支持,是否仍然如此,为什么不支持一个“标准”呢?
错误消息:
ruby.c:5:10:致命错误:未找到的线程h文件#包含
gcc --version配置有:--prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 Apple版本11.0.0 (clang-1100.0.33.17)的
目标: x86_64-apple-darwin19.6.0线程模型: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
发布于 2020-09-08 15:30:42
你不知道,Posix是标准。谢谢朋友们。
https://stackoverflow.com/questions/63786503
复制相似问题