On 06.04.2010, at 11:59, MacArthur, Ian (SELEX GALILEO, UK) wrote:

> 
>> It won't please everybody, but then the current guidelines don't
>> anyway, but it will be easy to apply the standard using the tool.
>> We document the tool and options in the CMP / Coding Standards.
>> 
>> So the base options we are looking at are: K&R, tab=8, indent=2.
>> Then there's stuff not in the CMP, but already in the code, for
>> one-liners such as "if (x) y;", "for (x) y;" and "while(x) y;".
>> It might take a while to refine all the options to get close to
>> the current CMP / Coding Standards.
> 
> Just looked at the docs for indent, and it seems to be saying it is not
> recommended for C++. It seems to be saying it may work for C++ but is
> not strictly supported.

I have the problem that "indent" doubles up the "const" keyword at the end of a 
function description. Very annoying. So maybe "indent" is not the way to go? Or 
my particular version is buggy.

- Matthias


_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to