Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs1:/tmp/cvs-serv2821/src/classes
Modified Files:
MessageView.cpp
Log Message:
fix VC++ warnings at level 4
Index: MessageView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MessageView.cpp,v
retrieving revision 1.106
retrieving revision 1.107
diff -b -u -2 -r1.106 -r1.107
--- MessageView.cpp 5 Dec 2002 20:48:50 -0000 1.106
+++ MessageView.cpp 8 Dec 2002 00:41:10 -0000 1.107
@@ -398,7 +398,16 @@
// if all else failed, call the base class
- // typedef is needed for VC++ 5.0 - otherwise you get a compile error!
+ // typedef is needed for VC++ -- otherwise you get a compile error --
+ // but with it you get this warning
+ #ifdef _MSC_VER
+ #pragma warning(disable:4097)
+ #endif
+
typedef wxFileType::MessageParameters BaseMessageParameters;
value = BaseMessageParameters::GetParamValue(name);
+
+ #ifdef _MSC_VER
+ #pragma warning(default:4097)
+ #endif
}
@@ -2157,7 +2166,7 @@
bool saved = false;
- Profile *profile = GetProfile();
-
#ifdef OS_UNIX
+ Profile * const profile = GetProfile();
+
/* For IMAGE/TIFF content, check whether it comes from one of the
fax domains. If so, change the mimetype to "IMAGE/TIFF-G3" and
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates