[dia/dia-0-97] Newer gcc chokes on cascaded extern "C"



commit bfc47b49f4b1702d86b1c4fa10b4386346e4af56
Author: Hans Breuer <hans breuer org>
Date:   Fri Mar 11 22:32:00 2011 +0100

    Newer gcc chokes on cascaded extern "C"
    
    error: template with C linkage ...

 plug-ins/wmf/wmf.cpp |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/plug-ins/wmf/wmf.cpp b/plug-ins/wmf/wmf.cpp
index d0ebccb..c8cd092 100644
--- a/plug-ins/wmf/wmf.cpp
+++ b/plug-ins/wmf/wmf.cpp
@@ -27,9 +27,6 @@
 #include <glib.h>
 #include <glib/gstdio.h>
 
-#ifdef __cplusplus
-extern "C" {
-#endif
 #include "intl.h"
 #include "message.h"
 #include "geometry.h"
@@ -38,10 +35,6 @@ extern "C" {
 #include "plug-ins.h"
 #include "dia_image.h"
 
-#ifdef __cplusplus
-}
-#endif
-
 #include "paginate_gdiprint.h"
 
 #if defined HAVE_WINDOWS_H || defined G_OS_WIN32



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]