Re: [dev] warnings01: status and how to proceed

2006-03-14 Thread Thorsten Behrens
Stephan Bergmann [EMAIL PROTECTED] writes:

 The most pragmatic approach (and the one at least I have taken during
 the last couple weeks when working on warnings01) is probably to not
 touch the headers delivered from external projects, but instead use
 pragmas at the places where those headers are included to disable
 warnings from within the headers.  In case a delivered header is
 included in multiple places, this can be made DRY by creating a new
 header that does the pragma stuff and then includes the original
 header.

Hm - are you suggesting to switch off the warning temporarily (while
the problematic header gets parsed), or completely for the compilation
unit including this header?

I think both ways have problems - the first one, because it doesn't
work for some of gcc's warnings in template code (the warning fires
only at the time of template instantiation), the second one because it
potentially makes the whole effort moot - just imagine including on of
the infringing boost headers in a central cppuhelper include.

Puzzled,

-- 

Thorsten

If you're not failing some of the time, you're not trying hard enough.

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



Re: [dev] warnings01: status and how to proceed

2006-03-14 Thread Stephan Bergmann

Thorsten Behrens wrote:

Stephan Bergmann [EMAIL PROTECTED] writes:



The most pragmatic approach (and the one at least I have taken during
the last couple weeks when working on warnings01) is probably to not
touch the headers delivered from external projects, but instead use
pragmas at the places where those headers are included to disable
warnings from within the headers.  In case a delivered header is
included in multiple places, this can be made DRY by creating a new
header that does the pragma stuff and then includes the original
header.



Hm - are you suggesting to switch off the warning temporarily (while
the problematic header gets parsed), or completely for the compilation
unit including this header?


The former.  You are right, there are cases where this does not work, 
but in those cases where it does work, I think it is a reasonable approach.


-Stephan


I think both ways have problems - the first one, because it doesn't
work for some of gcc's warnings in template code (the warning fires
only at the time of template instantiation), the second one because it
potentially makes the whole effort moot - just imagine including on of
the infringing boost headers in a central cppuhelper include.

Puzzled,


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



[dev] Error 65280 during compilation...

2006-03-14 Thread marekjs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ERROR: Error 65280 occurred while making
/my_path_to_OOo/OOo/OOB680_m5/filter/source/config/fragments
dmake:  Error code 1, while making 'build_instsetoo_native'

Hi.
I've the above mentioned error during compilation.
I do the compilation on my Linux Slackware, gcc-3.4.5, bash, with some
switches in ./configure (ex. --with-lang=pl, --with-firefox,
- --enable-kde).
The question: how can I debug this problem, or what's the workaround
for one?

- --


- ---
Regards:

marekjs

gg: 805516
tlen: [EMAIL PROTECTED]
gmail: [EMAIL PROTECTED]
yahoo: marekjs
icq: 221986650
msn: [EMAIL PROTECTED]
aim: marekjs1973
jabber: [EMAIL PROTECTED]
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.7 (GNU/Linux)

iD8DBQFEFs0jcBBhew6fYTwRAq8yAKCojk0VilkPiRaCa5HBj+cGsurIBwCghFu9
6liNPBVmiFW8G6noPHnUduM=
=6Ba4
-END PGP SIGNATURE-

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



[dev] List of Error Resource Strings

2006-03-14 Thread Stephan Bergmann
Fixing http://qa.openoffice.org/issues/show_bug.cgi?id=59269, I tried 
to assemble a list of all the error resource strings, i.e., all the 
resource strings that are ultimately passed to tools' 
ErrorHandler::HandleError or used internally by uui's 
UUIInteractionHandler.  (As part of the fix of issue 59269, all those 
resource strings have to be checked to have complete punctuation.)


Grepping around on SRC680m158 produced the attached list of 428 resource 
strings, from the nine source files

  basic/source/classes/sb.src:1.44
  sc/source/ui/src/scerrors.src:1.46
  sd/source/core/glob.src:1.64
  so3/src/nocode.src:1.45
  svtools/source/dialogs/so3res.src:1.4
  svtools/source/misc/errtxt.src:1.54
  svx/source/items/svxerr.src:1.51
  sw/source/ui/app/error.src:1.49
  uui/source/ids.src:1.60
(There are also duplicates of some of them in binfilter, but Armin Le 
Grand told me that binfilter should not display any UI stuff, so that it 
is probably safe to treat that as dead code and ignore it.)


If anybody knows of any error resource strings missing from the attached 
list, please let me know.


Thanks,
-Stephan
basic/source/classes/sb.src:1.44 ERRCODE_BASIC_EXCEPTION  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 ERRCODE_BASMGR_LIBLOAD  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 ERRCODE_BASMGR_LIBSAVE  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 ERRCODE_BASMGR_MGROPEN  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 ERRCODE_BASMGR_MGRSAVE  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 ERRCODE_BASMGR_REMOVELIB  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 ERRCODE_BASMGR_UNLOADLIB  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SBERR_IS_NULL  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_ACCESS_DENIED  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_ACCESS_ERROR  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_ALREADY_DIM  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_ARG_MISSING  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_ACTION  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_ARGUMENT  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_BLOCK  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_BRACKETS  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_CHANNEL  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_CHAR_IN_NUMBER  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_CLIPBD_FORMAT  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_DECLARATION  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_DLL_CALL  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_DLL_LOAD  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_EXIT  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_FILE_MODE  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_INDEX  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_LOCALE  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_METHOD  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_NUMBER_OF_ARGS  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_OPTION  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_ORDINAL  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_PARAMETER  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_PARAMETERS  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_PATTERN  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_PROP_VALUE  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_RECORD_LENGTH  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_RECORD_NUMBER  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_BAD_RESUME  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_CANNOT_LOAD  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_CONSTANT_REDECLARED  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_CONVERSION  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_DDE_BUSY  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_DDE_CHANNEL_LOCKED  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_DDE_CONV_CLOSED  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_DDE_DLL_NOT_FOUND  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_DDE_ERROR  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_DDE_INVALID_LINK  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_DDE_LINK_ALREADY_EST  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_DDE_LINK_INV_TOPIC  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_DDE_MULT_RESPONSES  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_DDE_NOTPROCESSED  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_DDE_NO_CHANNEL  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_DDE_NO_DATA  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_DDE_NO_RESPONSE  ERRCODE_RES_MASK
basic/source/classes/sb.src:1.44 SbERR_DDE_OUTOFCHANNELS  ERRCODE_RES_MASK

Re: [dev] Error 65280 during compilation...

2006-03-14 Thread Pavel Janík
   From: marekjs [EMAIL PROTECTED]
   Date: Tue, 14 Mar 2006 15:03:17 +0100

ERROR: Error 65280 occurred while making
/my_path_to_OOo/OOo/OOB680_m5/filter/source/config/fragments
dmake:  Error code 1, while making 'build_instsetoo_native'

I've the above mentioned error during compilation.

Can you please provide lines above your error message? There is the info
where it actually broke.
-- 
Pavel Janík

die_if_kernel(Whee... Hello Mr. Penguin, current-tss.kregs);
  -- 2.2.16 arch/sparc/kernel/traps.c

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



[dev] Re:Re: Error 65280 during compilation...

2006-03-14 Thread marekjs

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pavel Janík wrote, In 2006-03-14 19:52:
 From: marekjs [EMAIL PROTECTED] Date: Tue, 14 Mar 2006 15:03:17
 +0100

 ERROR: Error 65280 occurred while making
 /my_path_to_OOo/OOo/OOB680_m5/filter/source/config/fragments
 dmake:  Error code 1, while making 'build_instsetoo_native'

 I've the above mentioned error during compilation.

 Can you please provide lines above your error message? There is the
  info where it actually broke.

Hi.
Well, here you've some lines when I do build into the
/path_to_OOo//OOo/OOB680_m5/filter .
I didn't initiate dmake due to many lines on the screen ;) .That's
enough?


/OOo/OOB680_m5/filter# build
build -- version: 1.145

=
Building project filter
=
/OOo/OOB680_m5/filter/source/config/cache
- - -
/OOo/OOB680_m5/filter/source/config/fragments/filters
- - -
/OOo/OOB680_m5/filter/source/config/fragments/types
- - -
localize types ...
/OOo/OOB680_m5/filter/source/config/tools/utils
- - -
/OOo/OOB680_m5/filter/source/docbook
/OOo/OOB680_m5/filter/source/filtertracer
- - -
/OOo/OOB680_m5/filter/source/msfilter/powerpoint
- - -
/OOo/OOB680_m5/filter/source/placeware
- - -
/OOo/OOB680_m5/filter/source/svg
- - -
/OOo/OOB680_m5/filter/source/pdf
- - -
/OOo/OOB680_m5/filter/source/flash
- - -
/OOo/OOB680_m5/filter/source/xmlfilteradaptor
- - -
/OOo/OOB680_m5/filter/source/xmlfilterdetect
- - -
/OOo/OOB680_m5/filter/source/xsltdialog
- - -
/OOo/OOB680_m5/filter/source/xsltfilter
mkdir -p ../../unxlngi6.pro/class/XSLTFilter/META-INF/  /dev/null
rm -f ../../unxlngi6.pro/class/XSLTFilter/META-INF/MANIFEST.MF 
/dev/null
echo Manifest-Version: 1.0 
../../unxlngi6.pro/class/XSLTFilter/META-INF/MANIFEST.MF
echo Solar-Version: 680m5(Build:9011) 
../../unxlngi6.pro/class/XSLTFilter/META-INF/MANIFEST.MF
cat ../../unxlngi6.pro/misc/XSLTFilter_Manifest 
../../unxlngi6.pro/class/XSLTFilter/META-INF/MANIFEST.MF
cd ../../unxlngi6.pro/class/XSLTFilter  zip -u -rX
../XSLTFilter.jar  META-INF/MANIFEST.MF || if ($status != 12 
$status != 1) exit $status  echo Nothing to update for zip
updating: META-INF/MANIFEST.MF (deflated 15%)
cd ../../unxlngi6.pro/class  zip -u -rX XSLTFilter.jar
XSLTFilter*.class XSLTransformer*.class XSLTFilterOLEExtracter*.class
XSLTXalanOLEExtracter*.class || if ($status != 12  $status !=
1) exit $status  echo Nothing to update for zip
Nothing to update for zip
- - -
/OOo/OOB680_m5/filter/source/xsltvalidate
javac -classpath
.:../../unxlngi6.pro/class/XSLTValidate:/usr/lib/java/jre/lib/rt.jar:.:/mnt/hda8/kaszana/OOo/OOB680_m5/solver/680/unxlngi6.pro/bin/ridl.jar:/mnt/hda8/kaszana/OOo/OOB680_m5/solver/680/unxlngi6.pro/bin/unoil.jar:/mnt/hda8/kaszana/OOo/OOB680_m5/solver/680/unxlngi6.pro/bin/jurt.jar:/mnt/hda8/kaszana/OOo/OOB680_m5/solver/680/unxlngi6.pro/bin/juh.jar:/mnt/hda8/kaszana/OOo/OOB680_m5/solver/680/unxlngi6.pro/bin/xalan.jar:/mnt/hda8/kaszana/OOo/OOB680_m5/solver/680/unxlngi6.pro/bin/xml-apis.jar:/mnt/hda8/kaszana/OOo/OOB680_m5/solver/680/unxlngi6.pro/bin/crimson.jar
- - -d ../../unxlngi6.pro/class/XSLTValidateXSLTValidate.java
Note: XSLTValidate.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Making dpj...
.
mkdir -p ../../unxlngi6.pro/class/XSLTValidate/XSLTValidate/META-INF/
  /dev/null
rm -f
../../unxlngi6.pro/class/XSLTValidate/XSLTValidate/META-INF/MANIFEST.MF
  /dev/null
echo Manifest-Version: 1.0 
../../unxlngi6.pro/class/XSLTValidate/XSLTValidate/META-INF/MANIFEST.MF
echo Solar-Version: 680m5(Build:9011) 
../../unxlngi6.pro/class/XSLTValidate/XSLTValidate/META-INF/MANIFEST.MF
cat ../../unxlngi6.pro/misc/XSLTValidate_Manifest 
../../unxlngi6.pro/class/XSLTValidate/XSLTValidate/META-INF/MANIFEST.MF
cd ../../unxlngi6.pro/class/XSLTValidate/XSLTValidate  zip -u -rX
../XSLTValidate.jar  META-INF/MANIFEST.MF || if ($status != 12 
$status != 1) exit $status  echo Nothing to update for zip
updating: META-INF/MANIFEST.MF (deflated 9%)
cd ../../unxlngi6.pro/class/XSLTValidate  zip -u -rX
XSLTValidate.jar  XSLTValidate*.class || if ($status != 12 
$status != 1) exit $status  echo Nothing to update for zip
updating: XSLTValidate$_XSLTValidate.class (deflated 52%)
updating: XSLTValidate.class (deflated 54%)
- - -
/OOo/OOB680_m5/filter/source/config/tools/merge
mkdir -p ../../../../unxlngi6.pro/class/FCFGMerge/META-INF/  /dev/null
rm -f ../../../../unxlngi6.pro/class/FCFGMerge/META-INF/MANIFEST.MF 
/dev/null
echo Manifest-Version: 1.0 
../../../../unxlngi6.pro/class/FCFGMerge/META-INF/MANIFEST.MF
echo Solar-Version: 680m5(Build:9011) 
../../../../unxlngi6.pro/class/FCFGMerge/META-INF/MANIFEST.MF
cat ../../../../unxlngi6.pro/misc/FCFGMerge_Manifest.mf 
../../../../unxlngi6.pro/class/FCFGMerge/META-INF/MANIFEST.MF
cd ../../../../unxlngi6.pro/class/FCFGMerge  zip -u -rX

Re: [dev] [OO 2.0.2] Problem compiling cppu

2006-03-14 Thread Andreas Hartmann
Stephan Bergmann wrote:
 Andreas Hartmann wrote:
 Andreas Hartmann wrote:
 
Hello!


I'm trying to compile OO on Linux (gcc 3.4.5, glibc 2.3.5, binutils
2.16.91.0.5 or 2.15.94.0.2), but I'm getting a strange error during
linking of libuno_cppu.so.3. I never saw an error like this before :-).
 
 
 I detected the following dependencies:
 
  gcc binutilsworks
  3.4.3   2.15.94.0.2 yes
  3.4.5   2.15.94.0.2 with warnings
 
 What kind of warnings?

The same as in my other mail:

`.L330' referenced in section `.rodata' of ../unxlngi6.pro/slo/sequence.o:
defined in discarded section
`.gnu.linkonce.t._ZN4cppu22icopyConstructSequenceEP13_sal_SequenceP33_typelib_TypeDescriptionReferencePFvPvEP12_uno_Mapping'
of ../unxlngi6.pro/slo/sequence.o
`.L486' referenced in section `.rodata' of ../unxlngi6.pro/slo/sequence.o:
defined in discarded section
`.gnu.linkonce.t._ZN4cppu22icopyConstructSequenceEP13_sal_SequenceP33_typelib_TypeDescriptionReferencePFvPvEP12_uno_Mapping'
of ../unxlngi6.pro/slo/sequence.o
...

 
  3.4.5   2.16.91.0.6 error
  3.4.3   2.16.91.0.6 error
 
 Seems that binutils 2.16.91.0.[5+6] have a feature, which prevents stlport
 and cppu to compile.
 
 ...or a bug.  ;)  Have you tried filing an issue against GNU binutils?

No - I do not have enough know how about what's happening.



Kind regards,
Andreas Hartmann

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



Re: [dev] Greek fonts on Linux OO.o

2006-03-14 Thread Caolan McNamara
On Mon, 2006-03-13 at 00:35 +0200, Seeker wrote:
 From a quick search i didn't find the issue. I refer to the problem with
 greek fonts. When the user types something in Greek OO.o frequently takes
 the characters from a font which doesn't have the suitable characters with
 very very very ugly results.
 
 You can see the problem here:
 
 http://static.flickr.com/25/62583834_0436c1bfff_o.png
 
 Note how different 1 and 2 are. The first misses characters and even the
 ones which appear are very ugly.
 
 The ugly fonts appear even in OO.o's GUI.

Does installing DejaVu fonts make any difference for you ?
http://dejavu.sourceforge.net/

There aren't a lot of good greek-coverage (as opposed to fonts which
include some greek characters for math-coverage purposes) But DejaVu
apparently has some good coverage there.

C.

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