To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82982
Issue #|82982
Summary|WaE on 64bit Linux: idlc
Component|udk
Version|680m234
Platform|Opteron/x86_64
URL|
OS/Version|Linux
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|PATCH
Priority|P3
Subcomponent|code
Assigned to|jsc
Reported by|pjanik
------- Additional comments from [EMAIL PROTECTED] Thu Oct 25 19:03:24 +0000
2007 -------
Hi,
on 64bit Linux:
tokens.c: In function 'peektokens':
tokens.c:401: warning: format '%d' expects type 'int', but argument 3 has type
'long int'
This fixes it:
diff -ur ooo_SRC680_m233_src.orig/idlc/source/preproc/tokens.c
ooo_SRC680_m233_src/idlc/source/
preproc/tokens.c
--- ooo_SRC680_m233_src.orig/idlc/source/preproc/tokens.c
2007-10-13 11:42:08.000000000 +0200
+++ ooo_SRC680_m233_src/idlc/source/preproc/tokens.c 2007-10-13
11:44:01.000000000
+0200
@@ -398,7 +398,7 @@
if (str)
fprintf(stderr, "%s ", str);
if (tp < trp->bp || tp > trp->lp)
- fprintf(stderr, "(tp offset %d) ", tp - trp->bp);
+ fprintf(stderr, "(tp offset %ld) ", (long)(tp - trp->bp));
for (tp = trp->bp; tp < trp->lp && tp < trp->bp + 32; tp++)
{
if (tp->type != NL)
tested on both Linuxes, Windows and Mac OS X. Please review, I can cws process
it.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]