Re: [dev] External header guards (was: In the Works: New OOo C++ Coding Standards)

2007-01-04 Thread Jan Holesovsky
Hi Thorsten,

On Friday 22 December 2006 16:34, Jan Holesovsky wrote:

 http://www.go-oo.org/ooo-build/bin/strip-guards

 is the script to run over your sources (give it path to them as a
 parameter).

 http://www.go-oo.org/ooo-build/patches/src680/strip-guards-additions.diff

 is a patch to be applied over that (ooe680-m6), and finally

 http://www.go-oo.org/ooo-build/patches/src680/fast-mkdepend.diff

I had to update all of them:

http://svn.gnome.org/viewcvs/*checkout*/ooo-build/trunk/bin/strip-guards
http://svn.gnome.org/viewcvs/*checkout*/ooo-build/trunk/patches/src680/strip-guards-additions.diff
http://svn.gnome.org/viewcvs/*checkout*/ooo-build/trunk/patches/src680/fast-mkdepend.diff

The last one is now filed to IZ as 
http://www.openoffice.org/issues/show_bug.cgi?id=73081 .

Regards,
Jan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] External header guards (was: In the Works: New OOo C++ Coding Standards)

2006-12-28 Thread Thorsten Behrens
Jan Holesovsky [EMAIL PROTECTED] writes:

 So - everything is ready ;-)

 [snip] 
 
 Please test - I'm eager to see the results with msvc ;-)
 
Thanks a bunch - will do!

Cheers,

-- Thorsten

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] External header guards (was: In the Works: New OOo C++ Coding Standards)

2006-12-22 Thread Jan Holesovsky
Hi Thosten,

On Tuesday 19 December 2006 21:40, Thorsten Behrens wrote:

 you wrote:
  I hate them that much that I am willing to do a script that would do
  the removal ;-)
 
  What is the platform/compiler that probably needs this, please?  Any
  volunteer to do a comparison of the with and without compilation
  times?

 That would be msvc 7.1

 Go ahead with the script (I'd take that anyway, once we switch to 8.0)
 - I can do the timings.

So - everything is ready ;-)

http://www.go-oo.org/ooo-build/bin/strip-guards

is the script to run over your sources (give it path to them as a parameter).

http://www.go-oo.org/ooo-build/patches/src680/strip-guards-additions.diff

is a patch to be applied over that (ooe680-m6), and finally

http://www.go-oo.org/ooo-build/patches/src680/fast-mkdepend.diff

is a fix for the mkdepend slowness with sources that do not have the external 
guards.  (BTW, makedepend is an unbelievable piece of software ;-)  It's 
optimized for everything - but for what it should be optimized for.  This 
patch should fix that, it cuts thousands [maybe millions?] of unnecessary 
descents through the structure to find that the symbol is really not defined 
[+ a better structure for holding the symbols].)

Please test - I'm eager to see the results with msvc ;-)

Merry Christmas, and a Happy New Year!

Thank you,
Jan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]