URL:
  <http://savannah.gnu.org/bugs/?17464>

                 Summary: Wrap external function declarations in 'extern "C"'
                 Project: GNUstep
            Submitted by: lcampbel
            Submitted on: Friday 08/18/2006 at 19:06
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

External function declarations in header files should be wrapped inside

    extern "C" {}

so that Objective-C++ code can link to the functions successfully. The
simplest approach would probably be to wrap all Foundation headers between

    #ifdef __cplusplus
    extern "C" {
    #endif

and

    #ifdef __cplusplus
    }
    #endif








    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?17464>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to