https://ipads.se.sjtu.edu.cn/courses/os/labs/start.html
我是在上述连接中下载的vmware 的虚拟机
使用了如下仓库 ChCore V1 https://gitee.com/ipads-lab/chcore-lab
使用make命令编译后出现如下报错,想确认下这是不是正常的情况...
[11/12] Building C object kernel/CMakeFiles/chos-arch.dir/common/printk.c.o
../kernel/common/printk.c: In function 'printk_write_num':
../kernel/common/printk.c:106:21: warning: variable 'u' set but not used [-Wunused-but-set-variable]
unsigned long long u = i;
^
../kernel/common/printk.c:105:6: warning: unused variable 't' [-Wunused-variable]
int t, neg = 0, pc = 0;
^
../kernel/common/printk.c: In function 'printk_write_num.isra.0.constprop':
../kernel/common/printk.c:129:9: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
*--s = '-';
~~~~~^~~~~
[12/12] Linking C executable kernel.img
after ninja