|
From: | Richard Frith-Macdonald |
Subject: | [bug #34453] linking against C functions like NSRunAlertPanel() from ObjC++ fails |
Date: | Tue, 04 Oct 2011 06:00:00 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50 |
Update of bug #34453 (project gnustep): Category: None => Gui/AppKit Status: None => Fixed Open/Closed: Open => In Test _______________________________________________________ Follow-up Comment #1: I guess this is the trivial case of needing to wrap declarations for C++ code I modified NSPanel.h with: #if defined(__cplusplus) extern "C" { #endif #if defined(__cplusplus) } #endif Hopefully that fixes it (though it may be needed for other headers. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?34453> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |