[Mono-bugs] [Bug 74919][Nor] New - missing extern "C" decls in headers ...

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 12 May 2005 05:51:17 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by michael@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=74919

--- shadow/74919	2005-05-12 05:51:17.000000000 -0400
+++ shadow/74919.tmp.2631	2005-05-12 05:51:17.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 74919
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: JIT
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: michael@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: missing extern "C" decls in headers ...
+
+Using the installed mono headers from C++ is made more painful by the fact
+that they are missing the:
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+...
+
+#ifdef __cplusplus
+}
+#endif
+
+guards - or; if including gmacros.h:
+
+G_BEGIN_DECLS / G_END_DECLS
+
+these would be rather helpful :-)