[Libreoffice] Include Guards (easy 6)
Petr Mladek
pmladek at suse.cz
Wed Oct 6 07:06:19 PDT 2010
Cédric Bosdonnat píše v Po 04. 10. 2010 v 11:14 +0200:
> Hi Michael,
>
> On Sun, 2010-10-03 at 23:20 -0600, callahan at xmission.com wrote:
> > This is in response to Easy Task 6, removal of various include guards
> > throughout the source code.
> >
> > I have created and included a small python script to identify and
> > remove these include guards. Here is the basics on how to use it:
>
> Thanks for that clever solution! Many thanks for your script: I'm sure
> it'll help us and others to quickly fix this task.
Yes, it was huge help.
I have extended the script to take care about .h, .hrc, and .hpp include
files as well. I have run it over .cxx and .hxx files. The common git
log had 150kB. I pushed it yesterday evening.
I am sure that there are still some guards left but it most likely
fixed 99% of them ;-)
Thanks a lot for the great contribution.
Best Regards,
Petr
More information about the LibreOffice
mailing list