| 
 | 
 本帖最后由 求道者 于 2019-10-28 21:41 编辑  
 
 
yaya你能不能把WEE的编译器迁移到新的gcc9或者直接弄到clang…… 
最新能用的编译器是gcc49,这个在挺多新发行版里,已经满难安装了。(特别是C佬还说应该用gcc45编译,那个更难弄) 
我因为wee的问题去搭建编译环境也搞得够呛…… 
用gcc9编译会 
- make
 
 - gcc -m32 -mno-sse -g -Os -fno-stack-protector -fno-builtin -mpreferred-stack-boundary=2 -fno-strict-aliasing -fomit-frame-pointer -fno-exceptions -fno-asynchronous-unwind-tables -fno-unwind-tables -nostdinc -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -Wundef  -c fsys_ext2fs.c -o ./fsys_ext2fs.o
 
 - fsys_ext2fs.c:39:1: 错误:对‘log2_tmp’的静态声明出现在非静态声明之后
 
 -    39 | {
 
 -       | ^
 
 - In file included from fsys_ext2fs.c:33:
 
 - shared.h:389:29: 附注:‘log2_tmp’的上一个声明在此
 
 -   389 | extern inline unsigned long log2_tmp (unsigned long word);
 
 -       |                             ^~~~~~~~
 
 - shared.h:389:29: 警告:内联函数‘log2_tmp’声明过但从未定义
 
 - make: *** [Makefile:62:fsys_ext2fs.o] 错误 1
 
  复制代码 
我不懂C 不知道他怎么搞啊…… |   
 
 
 
 |