Code: Select all
$ i586-elf-gcc -o kernel.o -c kernel.c -Wall -Wextra -Werror \
> -nostdlib -fno-builtin -nostartfiles -nodefaultlibs
cc1: warnings being treated as errors
kernel.c:1: warning: unused parameter 'mbd'
Any ideas?
Code: Select all
$ i586-elf-gcc -o kernel.o -c kernel.c -Wall -Wextra -Werror \
> -nostdlib -fno-builtin -nostartfiles -nodefaultlibs
cc1: warnings being treated as errors
kernel.c:1: warning: unused parameter 'mbd'
Alternatively, do more application programming first and then come back to OS Development. The question shows a lack of understanding of compiler messages, of the language and of the toolchain. If this error is fixed on the forums, your project will just be one question after another.Love4Boobies wrote:Give up your project.