[dia] Newer gcc chokes on cascaded extern "C"
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] Newer gcc chokes on cascaded extern "C"
- Date: Sun, 13 Mar 2011 13:02:25 +0000 (UTC)
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]