[commit] r2075 - trunk/GME/Parser

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Sep 28 07:46:21 CDT 2012


Author: ksmyth
Date: Fri Sep 28 07:46:20 2012
New Revision: 2075

Log:
Fix Debug build

Modified:
   trunk/GME/Parser/MgaParser.cpp
   trunk/GME/Parser/StdAfx.h

Modified: trunk/GME/Parser/MgaParser.cpp
==============================================================================
--- trunk/GME/Parser/MgaParser.cpp	Thu Sep 27 15:03:07 2012	(r2074)
+++ trunk/GME/Parser/MgaParser.cpp	Fri Sep 28 07:46:20 2012	(r2075)
@@ -321,7 +321,7 @@
 		CloseAll();
 		clear_GME( m_GME);
 
-		ASSERT( FAILED(e.hr) );
+		ASSERT( FAILED(e.Error()) );
 		if (e.Description() != _bstr_t())
 			SetErrorInfo(e.Description());
 

Modified: trunk/GME/Parser/StdAfx.h
==============================================================================
--- trunk/GME/Parser/StdAfx.h	Thu Sep 27 15:03:07 2012	(r2074)
+++ trunk/GME/Parser/StdAfx.h	Fri Sep 28 07:46:20 2012	(r2075)
@@ -58,6 +58,9 @@
 #define __GmeLib_h__
 #define IID_IMgaDataSource __uuidof(IMgaDataSource)
 #define ATTVAL_ENUM _attval_enum
+
+static const long RELID_BASE_MAX  = 0x7FFFFFF;	//assigned to non-derived ojects
+static const long RELID_VALUE_MAX = 0x7FFFFFFF;   // automatically assigned to deriveds
 // End Imports
 
 #include "CommonSmart.h"


More information about the gme-commit mailing list