This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Reformatting C/C++/Java code (RE: proposed sync() patch)
- From: "Hannu E K Nevalainen" <garbage_collector at telia dot com>
- To: "ML CygWIN" <cygwin at cygwin dot com>
- Date: Thu, 15 Apr 2004 21:34:22 +0200
- Subject: RE: Reformatting C/C++/Java code (RE: proposed sync() patch)
> From: Robert Collins
> On Thu, 2004-04-15 at 04:29, Hannu E K Nevalainen wrote:
> > Assuming you do not use strange formatting/style - the
> > output of indent will be perfectly acceptable, I presume.
>
> indent breaks nastily on C++. - it appears to work, but actually gets a
> number of things wrong.
>
> Just FYI.
>
> Rob
Argh! How is it that I always hit this kind of stuff? (NO don't answer
that; i don't really want to know)
I've been using indent occassionally on my C-code only.
Anyone tried astyle on a larger scale?
(Not cygwin, yes I know - sorry for that)
/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E
** on a mailing list; please keep replies on that particular list **
-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/