Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Nuno J. Silva <nunojsilva@ist.utl.pt> writes:
Julien Nabet <serval2412@yahoo.fr> writes:

Then I took a look at the directory "ure/offapi". There are about 3700
files and the strip-guards script lets a lot (more than 3000!) of
"#ifndef" with "#include".( I don't know why, a pb of Unix/Dos
end-of-line perhaps ?)
This time it's too much to do it manually.
Some idea to improve the strip-guards script ?

I looked at your commit with the manually fixed guards[1] and at least
some of these are explainable. Maybe that's why there are so many guards
left in offapi:

[1] 
http://cgit.freedesktop.org/libreoffice/ure/commit/?id=cab76775a72e2e9e6cd242bbf87dd23475999164
[..]
- Some guards are written with lower case, while they're defined in
  upper case in the included file, like
 
   #ifndef __com_sun_star_bridge_XBridge_idl__
   #include <com/sun/star/bridge/XBridge.idl>

  while the file does

   #define _COM_SUN_STAR_BRIDGE_XBRIDGE_IDL_ 

... but of course here the issue is not only upper case, but also
missing underscores.

-- 
Nuno J. Silva (aka njsg)
gopher://sdf-eu.org/1/users/njsg

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.