News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Source code formatter (AStyle) 1.2 Bug

Started by pindakaas, December 22, 2006, 04:34:10 PM

Previous topic - Next topic

pindakaas

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;


Ceniza

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.