You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2006/10/18 16:05:48 UTC
svn commit: r465252 - in /xerces/c/trunk/swig/perl/Transcoder:
Transcoder.hpp XMLExceptionHandler.hpp
Author: amassari
Date: Wed Oct 18 07:05:44 2006
New Revision: 465252
URL: http://svn.apache.org/viewvc?view=rev&rev=465252
Log:
MSVC complains if the perl headers are inside an 'extern C' block
Modified:
xerces/c/trunk/swig/perl/Transcoder/Transcoder.hpp
xerces/c/trunk/swig/perl/Transcoder/XMLExceptionHandler.hpp
Modified: xerces/c/trunk/swig/perl/Transcoder/Transcoder.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/swig/perl/Transcoder/Transcoder.hpp?view=diff&rev=465252&r1=465251&r2=465252
==============================================================================
--- xerces/c/trunk/swig/perl/Transcoder/Transcoder.hpp (original)
+++ xerces/c/trunk/swig/perl/Transcoder/Transcoder.hpp Wed Oct 18 07:05:44 2006
@@ -17,10 +17,6 @@
#ifndef __TRANSCODER
#define __TRANSCODER
-/* Needed on some windows machines---since MS plays funny
- games with the header files under C++ */
-extern "C" {
-
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
@@ -28,9 +24,6 @@
/* Get rid of free and malloc defined by perl */
#undef free
#undef malloc
-
-}
-
#include "xercesc/util/TransService.hpp"
#include "xercesc/util/PlatformUtils.hpp"
Modified: xerces/c/trunk/swig/perl/Transcoder/XMLExceptionHandler.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/swig/perl/Transcoder/XMLExceptionHandler.hpp?view=diff&rev=465252&r1=465251&r2=465252
==============================================================================
--- xerces/c/trunk/swig/perl/Transcoder/XMLExceptionHandler.hpp (original)
+++ xerces/c/trunk/swig/perl/Transcoder/XMLExceptionHandler.hpp Wed Oct 18 07:05:44 2006
@@ -17,10 +17,6 @@
#ifndef __XMLEXCEPTIONHANDLER
#define __XMLEXCEPTIONHANDLER
-/* Needed on some windows machines---since MS plays funny
- games with the header files under C++ */
-extern "C" {
-
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
@@ -28,8 +24,6 @@
/* Get rid of free and malloc defined by perl */
#undef free
#undef malloc
-
-}
#include "xercesc/util/ArrayIndexOutOfBoundsException.hpp"
#include "xercesc/util/EmptyStackException.hpp"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org