Author Topic: Source code formatter (AStyle) 1.2 Bug  (Read 4835 times)

Offline pindakaas

  • Single posting newcomer
  • *
  • Posts: 4
Source code formatter (AStyle) 1.2 Bug
« on: December 22, 2006, 04:34:10 pm »
Fist off: great plug-in. This plug-in is proving to be very useful in our multi-site project. But...

The formatter seems to have some problems with structure definitions that contain bit field definitions.
It formats them as following:

                struct
                {
UL  Reserved8       :
                    24;
UL  Reserved7       :
                    1;
...
                }
                b;


Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Source code formatter (AStyle) 1.2 Bug
« Reply #1 on: December 23, 2006, 12:01:14 am »
IIRC it's a problem already reported in AStyle's bug tracker, unfortunately there has not been another release for almost 5 months now to try with something newer, and the repository was disabled.

Since it's a 3rd party library, with a code hard to follow, the most we can do is to check if the bug is already reported, and report it if it's not.