Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I believe the idea is to use that C/C++ code instead of the GAS or NASM code. However, it doesn't have nearly as much power as the assembly: it can't get the multiboot pointer, set up the GDT, or set up a higher half kernel. I would probably use the assembly instead. I also could be wrong - it may be intended to work with a smaller assembly section contained in loader.s.