[dia] Newer gcc chokes on cascaded extern "C"



commit 15dd90da6635d5d8d36546f6a0524f6c03c30179
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 |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/plug-ins/wmf/wmf.cpp b/plug-ins/wmf/wmf.cpp
index 8ae0a22..d70ac85 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,9 +35,6 @@ extern "C" {
 #include "plug-ins.h"
 #include "dia_image.h"
 #include "object.h" // ObjectOps::draw
-#ifdef __cplusplus
-}
-#endif
 
 #include "paginate_gdiprint.h"
 



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