bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-indent] indent


From: taraben . a
Subject: Re: [Bug-indent] indent
Date: Mon, 04 Mar 2002 13:47:30 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204

Hi,

I compiled the 2.2.7 version by commenting out two lines of code in the main()
  //bindtextdomain (PACKAGE, LOCALEDIR);
  //textdomain (PACKAGE);
With the -c++ option I got no luck with the templates.

Another question:
I have a function declaration like this:
#define APTVEC 10
void ISRApp (void) interrupt APTVEC
{
...
}
after indent it looks like
#define APTVEC 10
void
ISRApp (void)
     interrupt APTVEC
     {
     ...
     }
Everything is indented.

But if I write:
void ISRApp (void) interrupt 10
{
...
}
after indent it looks like
void
ISRApp (void) interrupt 10
{
...
}
OK.

Any reason for this?

Is the development code for 2.2.8 accessible? (CVS)?

Thanks,

Adib.

david ingamells wrote:
There is a make problem for windows machines which will be fixed in V 2.2.8.
You have tried the -c++ option to indent?

David.
On Friday 01 March 2002 3:03 pm, address@hidden wrote:

Oha,

I downloaded the source for the 2.2.7. Compiling I got problems with the
 gettext module.

I use mingw32 under Win2000.
Is there a working makefile or something for that system?

Thanks,

Adib.

david ingamells wrote:

Adib,
indent is a tool for indenting C and the snippet you show is C++.

It might work better with V 2.2.7, but you're on your own.

David.

On Thursday 28 February 2002 4:47 pm, address@hidden wrote:

Hello,

indent 2.2.6 converts
        std::map < int, std::vector < int > > data;
to
        std::map < int,
        std::vector < int >>
          data;
the important thing is that "> >" is replaced by ">>". The compiler can
not identify this as a template anymore.

Suggestions?

Thanks,

Adib.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]