hi
 
actually patch v1 used g++ and was compiling a "hello world" .cpp program but on of the comments was to change to gcc and c program.
You can see a bit more about that here https://bugzilla.yoctoproject.org/show_bug.cgi?id=15712 
What is your opinion ?
 
Regarding the rest of the comments , I will try to change the code and submit v5 :)
 
Thenx
Christos