C/C++ compilation differences