From 48ca9b8a37ece12c157de71038dcbd25de74e356 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 11 Oct 2000 19:27:18 +0000 Subject: [PATCH] visual C++ 6.0 still does not allocate the proper amount of memory for a pointer to a member function --- src/gdd/gddAppFuncTable.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/gdd/gddAppFuncTable.h b/src/gdd/gddAppFuncTable.h index 4da2ab53d..2040b81f2 100644 --- a/src/gdd/gddAppFuncTable.h +++ b/src/gdd/gddAppFuncTable.h @@ -29,6 +29,9 @@ * * History * $Log$ + * Revision 1.12 2000/09/27 19:45:55 jhill + * fixed ifdef around vis c++ pragma + * * Revision 1.11 2000/03/08 16:12:08 jhill * fixed gnu version test * @@ -273,9 +276,10 @@ void gddAppFuncTable::newTbl(unsigned newApplTypeMax) return; } maxApp = newApplTypeMax+(1u<<6u); -# if defined(_MSC_VER) && _MSC_VER < 1100 - // - // MS Visual C++ 5.0 (_MSC_VER==1100) or lower + +# if defined(_MSC_VER) && _MSC_VER <= 1200 + // + // MS Visual C++ 6.0 (_MSC_VER==1200) or lower // compilers allocate the wrong amount of memory // (i.e. too little) for member function pointers, // only explicit calculation via sizeof() works.