我安装了命令行工具
xcode-select --install。
如果我做
cd / Library / Developer / CommandLineTools / usr / bin,我可以看到那里列出的gcc。
我正在尝试在命令行上安装一个外部应用程序来提供这些错误
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ext/hash_set:205:5: warning:
Use of the header <ext/hash_set> is deprecated. Migrate to <unordered_set>
[-W#warnings]
# warning Use of the header <ext/hash_set> is deprecated. Migrate to ...
^
In file included from src/stl_logging_unittest.cc:34:
In file included from ./src/glog/stl_logging.h:76:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ext/hash_map:212:5: warning:
Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map>
[-W#warnings]
# warning Use of the header <ext/hash_map> is deprecated. Migrate to ...
^
In file included from src/stl_logging_unittest.cc:34:
./src/glog/stl_logging.h:77:11: fatal error: 'ext/slist' file not found
# include <ext/slist>
^
2 warnings and 1 error generated.
make: *** [stl_logging_unittest-stl_logging_unittest.o] Error 1
Done.