C++
x
1
typedef int GlobalDescriptorTable;2
typedef int VideoGraphicsArray;3
4
struct Task {5
Task(GlobalDescriptorTable *gdt, void (*entrypoint)(VideoGraphicsArray *vga));6
};7
$ g++ prog.cc -Wall -Wextra -std=c++11 -pedantic
Start
/usr/lib/x86_64-linux-gnu/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status
1
Finish