About Me

My photo
Christian. (That means that I know that Jesus is Lord!) Programmer. Gamer. Weak 3D artist. Geek.

Friday, 4 April 2008

Geek Note: Syntax checking in GCC

This is a note for myself: a little tidbit that I learnt today..

In order to check the syntax of C/C++ files but not compile, assemble or link those files use the following flag:

-fsyntax-only

Quality.

No comments: