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





------- Additional comments from [EMAIL PROTECTED] Fri Jul 14 07:36:26 -0700 
2006 -------
1 unotools:  This obviously has been fixed poorly on CWS warnings01.  Please try
below patch for a better fix (the #pragma obviously is only for MSC; GCC always
warns about unknown #pragmas, but the Sun CC only started to warn about unknown
#pragmas in recent versions; also, unknown #pragmas must be ignored per the C++
Standard, that explains why "it works").

Index: source/i18n/textsearch.cxx
===================================================================
RCS file: /cvs/util/unotools/source/i18n/textsearch.cxx,v
retrieving revision 1.10
diff -u -r1.10 textsearch.cxx
--- source/i18n/textsearch.cxx  19 Jun 2006 14:07:39 -0000      1.10
+++ source/i18n/textsearch.cxx  14 Jul 2006 14:33:13 -0000
@@ -233,7 +233,7 @@
  * Methoden fuer die normale Suche oder der Suche nach Regular-Expressions
  * ueber die MethodenPointer auf.
  */
-#if ! defined(__GNUC__)
+#if defined _MSC_VER
 #pragma optimize("", off)
 #endif
 int TextSearch::SearchFrwrd( const String & rStr, xub_StrLen* pStart,
@@ -298,7 +298,7 @@
        return nRet;
 }

-#if ! defined(__GNUC__)
+#if defined _MSC_VER
 #pragma optimize("", on)
 #endif


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