Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Source code formatter (AStyle) 1.2 Bug

(1/1)

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.

Navigation

[0] Message Index

Go to full version