Skip to content
Snippets Groups Projects
Commit ef660cf7 authored by Recolic K's avatar Recolic K
Browse files

temporarily removed libstdc++ test, and disable stack prot to pass compilation

parent f5ef4bcf
No related branches found
No related tags found
No related merge requests found
Pipeline #856 failed with stage
in 1 minute
......@@ -15,7 +15,7 @@ head:
nasm -f elf$(BITS) -DTARGET_BITS=$(BITS) image_head.asm -o image_head.o
kernel:
g++ -ffreestanding -fpie -fno-exceptions -c kernel.cc -o kernel.o -m$(BITS) -std=c++17
g++ -ffreestanding -fpie -fno-exceptions -fno-stack-protector -c kernel.cc -o kernel.o -m$(BITS) -std=c++17
clean:
rm -f *.o *.img
......
......@@ -33,7 +33,7 @@ void main() {
// print_char('0' + test_buf[i], default_color);
// }
// std::string s = "cxxhello world";
std::basic_string<char, std::char_traits<char>, kallocator<char>> s = "cxx hello world";
print(s.c_str());
// std::basic_string<char, std::char_traits<char>, kallocator<char>> s = "cxx hello world";
// print(s.c_str());
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment