[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GOP-PROP 3: C++ formatting
From: |
Reinhold Kainhofer |
Subject: |
Re: GOP-PROP 3: C++ formatting |
Date: |
Sun, 26 Jun 2011 21:11:00 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.4; i686; ; ) |
Am Sonntag, 26. Juni 2011, 19:48:36 schrieb Graham Percival:
> On Sun, Jun 26, 2011 at 05:43:26PM +0000, Keith OHara wrote:
> > I am surprised you did not turn first to good old indent. Thu gnu guys
> > give an option set for use with indent.
>
> indent(1) can't handle C++ code. I forget exactly what made it
> barf, but I think it was templates. It might have even been
> classes, though. I've heard a rumor that they're working on
> updating it for C++ as well, but I haven't seen any results from
> that.
From the indent manpage:
BUGS
[...]
While an attempt was made to get indent working for C++, it will not do a
good job on any C++ source except the very simplest.
Cheers,
Reinhold
--
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org
- Re: GOP-PROP 3: C++ formatting, (continued)
- Re: GOP-PROP 3: C++ formatting, Hans Aberg, 2011/06/22
- Re: GOP-PROP 3: C++ formatting, Valentin Villenave, 2011/06/25
- Message not available
- Re: GOP-PROP 3: C++ formatting, Graham Percival, 2011/06/26
- Re: GOP-PROP 3: C++ formatting, Keith OHara, 2011/06/26
- Re: GOP-PROP 3: C++ formatting, Graham Percival, 2011/06/26
- Re: GOP-PROP 3: C++ formatting,
Reinhold Kainhofer <=
- Re: GOP-PROP 3: C++ formatting, Keith OHara, 2011/06/26
- Re: GOP-PROP 3: C++ formatting, Graham Percival, 2011/06/27
- Re: GOP-PROP 3: C++ formatting, Keith OHara, 2011/06/27
- Re: GOP-PROP 3: C++ formatting, Graham Percival, 2011/06/27
- Re: GOP-PROP 3: C++ formatting, Keith OHara, 2011/06/28
- Re: GOP-PROP 3: C++ formatting, Graham Percival, 2011/06/29