To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86880





------- Additional comments from [email protected] Tue Oct 27 10:15:12 
+0000 2009 -------
->os: The line produces the "warning: comparison with string literal results in
unspecified behaviour".

The string is defined in svtools/source/svrtf/rtfkeywd.hxx as
#define OOO_STRING_SVTOOLS_RTF_WMETAFILE "\\wmetafile"

It is not guaranteed that this string is defined only once in the object files,
so it is dangerous to compare pointers.

I think that it works fine with the most used compilers. Though, this warning is
marked as error in openSUSE build system => we need to avoid it.

Hmm, my solution with the cast (const sal_Char *) actually just hides the
problem. "strcmp" is not usable (ama knows more details) => we should rework it
to use real enums.

---------------------------------------------------------------------
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]

Reply via email to