[GME-commit] GMESRC/GME/ConstraintManager Solve4786.h,NONE,1.1 ConstraintManager.cpp,1.5,1.6 ConstraintManager.rc,1.29,1.30 GMEConstraintEx.cpp,1.13,1.14 OCLCommon.cpp,1.3,1.4 OCLCommonEx.cpp,1.10,1.11 OCLContext.cpp,1.1,1.2 OCLException.cpp,1.8,1.9 OCLFactory.cpp,1.1,1.2 OCLFeature.cpp,1.1,1.2 OCLFeatureImplementation.cpp,1.1,1.2 OCLGMECMFacade.cpp,1.24,1.25 OCLGMEECFacade.cpp,1.10,1.11 OCLObject.cpp,1.4,1.5 OCLObjectExBasic.cpp,1.5,1.6 OCLObjectExGME.cpp,1.6,1.7 OCLParserStatic.cpp,1.4,1.5 OCLRefCount.cpp,1.1,1.2 OCLSignature.cpp,1.2,1.3 OCLTree.cpp,1.22,1.23 OCLType.cpp,1.6,1.7 OCLTypeExBasic.cpp,1.14,1.15 OCLTypeExGMECM.cpp,1.24,1.25 OCLTypeExGMEEC.cpp,1.18,1.19 OclConstraint.cpp,1.4,1.5 Regexp.cpp,1.1,1.2 StdAfx.h,1.6,1.7 ocl.g,1.13,1.14 resource.h,1.20,1.21

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Tue May 18 09:31:02 CDT 2004


Update of /var/lib/gme/GMESRC/GME/ConstraintManager
In directory braindrain:/tmp/cvs-serv31734/ConstraintManager

Modified Files:
	ConstraintManager.cpp ConstraintManager.rc GMEConstraintEx.cpp 
	OCLCommon.cpp OCLCommonEx.cpp OCLContext.cpp OCLException.cpp 
	OCLFactory.cpp OCLFeature.cpp OCLFeatureImplementation.cpp 
	OCLGMECMFacade.cpp OCLGMEECFacade.cpp OCLObject.cpp 
	OCLObjectExBasic.cpp OCLObjectExGME.cpp OCLParserStatic.cpp 
	OCLRefCount.cpp OCLSignature.cpp OCLTree.cpp OCLType.cpp 
	OCLTypeExBasic.cpp OCLTypeExGMECM.cpp OCLTypeExGMEEC.cpp 
	OclConstraint.cpp Regexp.cpp StdAfx.h ocl.g resource.h 
Added Files:
	Solve4786.h 
Log Message:
Eliminated _ALL_ warning messages.

CVS User: volgy

--- NEW FILE: Solve4786.h ---
#ifndef SOLVE4786_H
#define SOLVE4786_H

// Based on message from Yahoo!Groups boost at URL 
// http://groups.yahoo.com/group/boost/message/19264
// Written by Paul Hollingsworth (http://PaulHollingsworth.com)

#pragma warning(disable:4786)
// http://support.microsoft.com/support/kb/articles/Q167/3/55.ASP
// states that yes, it's a compiler bug that #pragma warning(disable: 4786)
// doesn't always work.

// They don't, however, list a workaround.

// I found that, very strangely, #including <iostream> made the
// remaining 4786 warnings go away!

// Of course, #including <iostream> is inefficient and
// slows compilation - so I whittled away most of what's in
// <iostream> and discovered that the "active ingredient" in <iostream>
// appears to be a declaration of a static class, complete with
// default constructor.

// For some reason, this works around the bug!

// Why does this work? Beats me, ask those smart guys at MS who wrote the
// compiler.
class msVC6_4786WorkAround 
{
public:
	msVC6_4786WorkAround() {}
};

static msVC6_4786WorkAround 
WowIWonderWhatCrapCodeMustBeInTheCompilerToMakeThisWorkaroundWork;

#endif // SOLVE4786_H

Index: ConstraintManager.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/ConstraintManager.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** ConstraintManager.cpp	23 Oct 2002 14:05:00 -0000	1.5
--- ConstraintManager.cpp	18 May 2004 13:30:58 -0000	1.6
***************
*** 5,9 ****
  //      To build a separate proxy/stub DLL,
  //      run nmake -f ConstraintManagerps.mk in the project directory.
! 
  #include "stdafx.h"
  #include "resource.h"
--- 5,9 ----
  //      To build a separate proxy/stub DLL,
  //      run nmake -f ConstraintManagerps.mk in the project directory.
! #include "Solve4786.h"
  #include "stdafx.h"
  #include "resource.h"

Index: ConstraintManager.rc
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/ConstraintManager.rc,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** ConstraintManager.rc	27 Nov 2002 17:59:00 -0000	1.29
--- ConstraintManager.rc	18 May 2004 13:30:58 -0000	1.30
***************
*** 468,471 ****
--- 468,472 ----
  IDI_EC_CHECKALL         ICON    DISCARDABLE     "ec_icon.ico"
  IDI_CMWARNING           ICON    DISCARDABLE     "warning.ico"
+ IDI_ICON1               ICON    DISCARDABLE     "icon1.ico"
  
  /////////////////////////////////////////////////////////////////////////////

Index: GMEConstraintEx.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/GMEConstraintEx.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** GMEConstraintEx.cpp	29 Jan 2003 22:01:00 -0000	1.13
--- GMEConstraintEx.cpp	18 May 2004 13:30:58 -0000	1.14
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "GMEConstraintEx.h"
  #include "OCLCommonEx.h"
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "stdafx.h"
  #include "GMEConstraintEx.h"
  #include "OCLCommonEx.h"

Index: OCLCommon.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLCommon.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** OCLCommon.cpp	7 Oct 2002 16:01:00 -0000	1.3
--- OCLCommon.cpp	18 May 2004 13:30:58 -0000	1.4
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLCommon.h"
  
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLCommon.h"
  

Index: OCLCommonEx.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLCommonEx.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** OCLCommonEx.cpp	18 Nov 2002 18:24:00 -0000	1.10
--- OCLCommonEx.cpp	18 May 2004 13:30:58 -0000	1.11
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLCommonEx.h"
  
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLCommonEx.h"
  

Index: OCLContext.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLContext.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** OCLContext.cpp	30 Sep 2002 23:07:00 -0000	1.1
--- OCLContext.cpp	18 May 2004 13:30:58 -0000	1.2
***************
*** 6,9 ****
--- 6,10 ----
  //###############################################################################################################################################
  
+ #include "Solve4786.h"
  #include "OCLContext.h"
  

Index: OCLException.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLException.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** OCLException.cpp	10 Nov 2002 22:52:00 -0000	1.8
--- OCLException.cpp	18 May 2004 13:30:58 -0000	1.9
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLException.h"
  
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLException.h"
  

Index: OCLFactory.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLFactory.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** OCLFactory.cpp	30 Sep 2002 23:07:00 -0000	1.1
--- OCLFactory.cpp	18 May 2004 13:30:58 -0000	1.2
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLFactory.h"
  
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLFactory.h"
  

Index: OCLFeature.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLFeature.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** OCLFeature.cpp	30 Sep 2002 23:07:00 -0000	1.1
--- OCLFeature.cpp	18 May 2004 13:30:58 -0000	1.2
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OclFeature.h"
  
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OclFeature.h"
  

Index: OCLFeatureImplementation.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLFeatureImplementation.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** OCLFeatureImplementation.cpp	30 Sep 2002 23:07:00 -0000	1.1
--- OCLFeatureImplementation.cpp	18 May 2004 13:30:58 -0000	1.2
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLFeatureImplementation.h"
  
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLFeatureImplementation.h"
  

Index: OCLGMECMFacade.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLGMECMFacade.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** OCLGMECMFacade.cpp	14 May 2004 15:54:19 -0000	1.24
--- OCLGMECMFacade.cpp	18 May 2004 13:30:58 -0000	1.25
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLGMECMFacade.h"
  #include "GMEViolationDialog.h"
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLGMECMFacade.h"
  #include "GMEViolationDialog.h"

Index: OCLGMEECFacade.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLGMEECFacade.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** OCLGMEECFacade.cpp	16 Dec 2002 23:26:00 -0000	1.10
--- OCLGMEECFacade.cpp	18 May 2004 13:30:58 -0000	1.11
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLGMEECFacade.h"
  #include "OCLTypeExGMEEC.h"
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLGMEECFacade.h"
  #include "OCLTypeExGMEEC.h"

Index: OCLObject.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLObject.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** OCLObject.cpp	14 Nov 2002 23:09:00 -0000	1.4
--- OCLObject.cpp	18 May 2004 13:30:58 -0000	1.5
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLObject.h"
  
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLObject.h"
  

Index: OCLObjectExBasic.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLObjectExBasic.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** OCLObjectExBasic.cpp	11 Nov 2002 04:10:00 -0000	1.5
--- OCLObjectExBasic.cpp	18 May 2004 13:30:58 -0000	1.6
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLObjectExBasic.h"
  #include "OCLType.h"
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLObjectExBasic.h"
  #include "OCLType.h"

Index: OCLObjectExGME.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLObjectExGME.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** OCLObjectExGME.cpp	17 Nov 2002 23:57:00 -0000	1.6
--- OCLObjectExGME.cpp	18 May 2004 13:30:58 -0000	1.7
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLObjectExGME.h"
  #include "OCLCommonEx.h"
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLObjectExGME.h"
  #include "OCLCommonEx.h"

Index: OCLParserStatic.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLParserStatic.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** OCLParserStatic.cpp	14 Nov 2002 18:11:00 -0000	1.4
--- OCLParserStatic.cpp	18 May 2004 13:30:58 -0000	1.5
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLParserStatic.h"
  
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLParserStatic.h"
  

Index: OCLRefCount.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLRefCount.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** OCLRefCount.cpp	30 Sep 2002 23:07:00 -0000	1.1
--- OCLRefCount.cpp	18 May 2004 13:30:58 -0000	1.2
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLRefCount.h"
  
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLRefCount.h"
  

Index: OCLSignature.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLSignature.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** OCLSignature.cpp	7 Oct 2002 16:01:00 -0000	1.2
--- OCLSignature.cpp	18 May 2004 13:30:58 -0000	1.3
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLSignature.h"
  
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLSignature.h"
  

Index: OCLTree.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLTree.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** OCLTree.cpp	14 May 2004 15:54:19 -0000	1.22
--- OCLTree.cpp	18 May 2004 13:30:58 -0000	1.23
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLTree.h"
  
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLTree.h"
  

Index: OCLType.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLType.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** OCLType.cpp	10 May 2004 15:12:11 -0000	1.6
--- OCLType.cpp	18 May 2004 13:30:58 -0000	1.7
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLType.h"
  
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLType.h"
  

Index: OCLTypeExBasic.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLTypeExBasic.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** OCLTypeExBasic.cpp	14 May 2004 15:54:19 -0000	1.14
--- OCLTypeExBasic.cpp	18 May 2004 13:30:58 -0000	1.15
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLTypeExBasic.h"
  
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLTypeExBasic.h"
  

Index: OCLTypeExGMECM.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLTypeExGMECM.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** OCLTypeExGMECM.cpp	14 Apr 2003 19:38:18 -0000	1.24
--- OCLTypeExGMECM.cpp	18 May 2004 13:30:58 -0000	1.25
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLTypeExGMECM.h"
  
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLTypeExGMECM.h"
  

Index: OCLTypeExGMEEC.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLTypeExGMEEC.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** OCLTypeExGMEEC.cpp	14 Apr 2003 19:38:18 -0000	1.18
--- OCLTypeExGMEEC.cpp	18 May 2004 13:30:58 -0000	1.19
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLTypeExGMEEC.h"
  #include "OCLObjectExBasic.h"
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLTypeExGMEEC.h"
  #include "OCLObjectExBasic.h"

Index: OclConstraint.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OclConstraint.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** OclConstraint.cpp	27 Apr 2004 20:28:23 -0000	1.4
--- OclConstraint.cpp	18 May 2004 13:30:58 -0000	1.5
***************
*** 5,9 ****
  //
  //###############################################################################################################################################
! 
  #include "OCLConstraint.h"
  
--- 5,9 ----
  //
  //###############################################################################################################################################
! #include "Solve4786.h"
  #include "OCLConstraint.h"
  

Index: Regexp.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/Regexp.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Regexp.cpp	30 Sep 2002 23:19:00 -0000	1.1
--- Regexp.cpp	18 May 2004 13:30:58 -0000	1.2
***************
*** 2,6 ****
  
  #if defined( _MBCS )
! #pragma message( __FILEINFO__ "This code is broken under _MBCS, " \
  				 "see the comments at the top of this file." )
  #endif //_MBCS
--- 2,6 ----
  
  #if defined( _MBCS )
! #pragma message( "This code is broken under _MBCS, " \
  				 "see the comments at the top of this file." )
  #endif //_MBCS

Index: StdAfx.h
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/StdAfx.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** StdAfx.h	23 Oct 2002 14:06:00 -0000	1.6
--- StdAfx.h	18 May 2004 13:30:58 -0000	1.7
***************
*** 32,35 ****
--- 32,36 ----
  #include "CommonMgaTrukk.h"
  
+ 
  #define XASSERT(x) if(!(x)) COMTHROW( ((x), -1))
  

Index: ocl.g
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/ocl.g,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** ocl.g	14 Nov 2002 18:11:00 -0000	1.13
--- ocl.g	18 May 2004 13:30:58 -0000	1.14
***************
*** 9,12 ****
--- 9,13 ----
  #header
  <<
+ 	#include "Solve4786.h"
  	#include "OCLTree.h"
  	#include "OCLLexer.h"

Index: resource.h
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/resource.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** resource.h	27 Nov 2002 17:59:00 -0000	1.20
--- resource.h	18 May 2004 13:30:58 -0000	1.21
***************
*** 79,82 ****
--- 79,83 ----
  #define IDD_BROWSER_SETTINGS_PAGE       240
  #define CVD_BTNNEXT                     241
+ #define IDI_ICON1                       241
  #define CVD_LBLCONSTRAINT               242
  #define PEXP_EDTEXPRESSION              242
***************
*** 106,110 ****
  #ifdef APSTUDIO_INVOKED
  #ifndef APSTUDIO_READONLY_SYMBOLS
! #define _APS_NEXT_RESOURCE_VALUE        241
  #define _APS_NEXT_COMMAND_VALUE         32768
  #define _APS_NEXT_CONTROL_VALUE         268
--- 107,111 ----
  #ifdef APSTUDIO_INVOKED
  #ifndef APSTUDIO_READONLY_SYMBOLS
! #define _APS_NEXT_RESOURCE_VALUE        242
  #define _APS_NEXT_COMMAND_VALUE         32768
  #define _APS_NEXT_CONTROL_VALUE         268



More information about the GME-commit mailing list