[Easysoap-checkins] CVS: easysoap/include/easysoap SOAPTypeTraits.h,1.18,1.19 es_borl.h,1.2,1.3 es_c
Status: Beta
Brought to you by:
dcrowley
From: David C. <dcr...@us...> - 2005-09-24 07:24:37
|
Update of /cvsroot/easysoap/easysoap/include/easysoap In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10968/include/easysoap Modified Files: SOAPTypeTraits.h es_borl.h es_conf.h es_msvc.h Log Message: Updated autoconf compiler check m4 files. Fixes to work with gcc 3.4 Index: SOAPTypeTraits.h =================================================================== RCS file: /cvsroot/easysoap/easysoap/include/easysoap/SOAPTypeTraits.h,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- SOAPTypeTraits.h 16 Mar 2004 22:43:08 -0000 1.18 +++ SOAPTypeTraits.h 24 Sep 2005 07:24:24 -0000 1.19 @@ -284,7 +284,7 @@ SOAPQName& atype = param.AddAttribute(SOAPEnc::arrayType); SOAPTypeTraits<TYPENAME(V::value_type)>::GetType(atype); - snprintf(buffer, sizeof(buffer), "[%d]", val.size()); + snprintf(buffer, sizeof(buffer), "[%zu]", val.size()); atype.GetName().Append(buffer); // @@ -592,7 +592,7 @@ SOAPQName& atype = param.AddAttribute(SOAPEnc::arrayType); SOAPTypeTraits<TYPENAME(V::value_type)>::GetType(atype); - snprintf(buffer, sizeof(buffer), "[%d,%d]", val.GetNumRows(), val.GetNumCols()); + snprintf(buffer, sizeof(buffer), "[%zu,%zu]", val.GetNumRows(), val.GetNumCols()); atype.GetName().Append(buffer); // Index: es_borl.h =================================================================== RCS file: /cvsroot/easysoap/easysoap/include/easysoap/es_borl.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- es_borl.h 3 Jun 2003 17:34:37 -0000 1.2 +++ es_borl.h 24 Sep 2005 07:24:24 -0000 1.3 @@ -44,6 +44,4 @@ #endif // EASYSOAP_EXPORTS #endif // EASYSOAP_STATIC -#define TYPENAME(T) T - #endif // __ES_BORL_H_ Index: es_conf.h =================================================================== RCS file: /cvsroot/easysoap/easysoap/include/easysoap/es_conf.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- es_conf.h 3 Jun 2003 17:34:37 -0000 1.6 +++ es_conf.h 24 Sep 2005 07:24:24 -0000 1.7 @@ -34,7 +34,7 @@ // Some compilers on the other hand don't like it one // bit .... */ -#ifdef HAVE_TEMPLATE_KEYWORD_QUALIFIER +#ifdef HAVE_TYPENAME #define TYPENAME(T) typename T #else #define TYPENAME(T) T Index: es_msvc.h =================================================================== RCS file: /cvsroot/easysoap/easysoap/include/easysoap/es_msvc.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- es_msvc.h 2 Jun 2004 06:16:07 -0000 1.8 +++ es_msvc.h 24 Sep 2005 07:24:24 -0000 1.9 @@ -47,7 +47,7 @@ #define HAVE_STRICMP #define HAVE_NAMESPACES #if _MSC_VER >= 1310 -#define HAVE_TEMPLATE_KEYWORD_QUALIFIER +#define HAVE_TYPENAME #endif #define snprintf _snprintf |