bugGNUstep - Bugs: bug #17464, Wrap external function...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #17464: Wrap external function declarations in 'extern "C"'

Submitted by:  Larry Campbell <lcampbel>
Submitted on:  Fri 18 Aug 2006 07:06:55 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed 13 Sep 2006 10:21:16 AM UTC, comment #1:

Done ... thanks.

Richard Frith-Macdonald <CaS>
Project Member
Fri 18 Aug 2006 07:06:55 PM UTC, original submission:

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

Larry Campbell <lcampbel>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 13 Sep 2006 10:21:16 AM UTCCaSStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1