[Qt-creator] indent preprocessor directives

Nikos Chantziaras realnc at gmail.com
Fri May 4 22:16:04 CEST 2012


On 04/05/12 23:02, Atlant Schmidt wrote:
> Nikos, et al.:
>
>> Indenting preprocessor directives is perfectly acceptable by the standard.
>
>    Pre-ANSI C, when many of us learned to type, that wasn't
>    the case; preprocessor directives had to start in column 1.
>    But ANSI C has been around for a long time now... ;-)

Since this is C++, we don't even need to care. You can't write Qt 
programs with pre-ANSI C compilers to begin with :-)




More information about the Qt-creator mailing list