I'm not sure what you asking for here.  But to learn how to format
your code, I think just look at the GCC source code and model your
code after that.

    I am not understanding the standard.For example,should I use \t
    instead of space?Should I use 4 spaces as indent or 2?

My understanding is that GCC coding guidelines (http://gcc.gnu.org/contribute.html#standards) don't require particular indentation style so you should probably stick to a style
used in particular file (or even particular function).

That said GCC's lack of indentation standard is IMHO rather unfortunate.

-Y

Reply via email to