Hi dufresnep, welcomedufresnep wrote:cc1: all warnings being treated as errors
Makefile:180: recipe for target 'obj/kernelDisk.o' failed
make[2]: *** [obj/kernelDisk.o] Error 1
make[2]: Leaving directory '/home/paul/Téléchargements/visopsys-0.8_pre1-src/src/kernel'
Makefile:11: recipe for target 'all' failed
You're using a newer version of Ubuntu and GCC than I am. The GCC guys change things quite a lot, and there are often new warnings. In building Visopsys, warnings are treated like errors.
The fix for warnings like this is to cast them to something like (void *). It's a volatile structure, but to call memset(), which just takes void *, it needs the cast.
Alternatively, you can just remove -Werror from Makefile.include, at the top level. That will stop treating warnings as errors.