Wouldn't that be a warning we should globally disable in
solenv/inc/wntmsci10.mk?
-Stephan
[from [EMAIL PROTECTED]:]
[EMAIL PROTECTED] wrote:
Tag: cws_src680_obo05
User: obo
Date: 2006/06/28 04:54:47
Modified:
porting/sal/rtl/source/string.c
porting/sal/rtl/source/ustring.c
Log:
#i53611# .net 2005 warning 4738 off
File Changes:
Directory: /porting/sal/rtl/source/
===================================
File [changed]: string.c
Url:
http://porting.openoffice.org/source/browse/porting/sal/rtl/source/string.c?r1=1.14&r2=1.14.18.1
Delta lines: +6 -3
-------------------
--- string.c 4 May 2006 15:14:41 -0000 1.14
+++ string.c 28 Jun 2006 11:54:44 -0000 1.14.18.1
@@ -4,9 +4,9 @@
*
* $RCSfile: string.c,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.14.18.1 $
*
- * last change: $Author: rt $ $Date: 2006/05/04 15:14:41 $
+ * last change: $Author: obo $ $Date: 2006/06/28 11:54:44 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -32,6 +32,9 @@
* MA 02111-1307 USA
*
************************************************************************/
+#if defined(_MSC_VER) && (_MSC_VER >= 1400)
+#pragma warning(disable:4738) // storing 32-bit float result in memory,
possible loss of performance
+#endif
#ifndef _RTL_MEMORY_H_
#include <rtl/memory.h>
File [changed]: ustring.c
Url:
http://porting.openoffice.org/source/browse/porting/sal/rtl/source/ustring.c?r1=1.22&r2=1.22.18.1
Delta lines: +6 -3
-------------------
--- ustring.c 4 May 2006 15:15:15 -0000 1.22
+++ ustring.c 28 Jun 2006 11:54:44 -0000 1.22.18.1
@@ -4,9 +4,9 @@
*
* $RCSfile: ustring.c,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.22.18.1 $
*
- * last change: $Author: rt $ $Date: 2006/05/04 15:15:15 $
+ * last change: $Author: obo $ $Date: 2006/06/28 11:54:44 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -32,6 +32,9 @@
* MA 02111-1307 USA
*
************************************************************************/
+#if defined(_MSC_VER) && (_MSC_VER >= 1400)
+#pragma warning(disable:4738) // storing 32-bit float result in memory,
possible loss of performance
+#endif
#ifndef _RTL_MEMORY_H_
#include <rtl/memory.h>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]