Re: Linking a C++ library to a C program.
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Tue, 12 Jul 2005 17:05:49 GMT
"S.Tobias" wrote:
> CBFalconer <cbfalconer@xxxxxxxxx> wrote:
>
>> Not quite. I am quite willing for C++ users to call my code, so I
>> habitually insert the #ifdef __cplusplus__ guards for the 'extern
>> "C" {}' in the header files. That __cplusplus__ is not allowed to
>> be defined in the C system, for just this purpose.
>
> ITYM: __cplusplus
Yup, I always have to check that when I write a header file. At
least I know I am usually wrong.
--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
.
- References:
- Linking a C++ library to a C program.
- From: a2x
- Re: Linking a C++ library to a C program.
- From: Malcolm
- Re: Linking a C++ library to a C program.
- From: CBFalconer
- Re: Linking a C++ library to a C program.
- From: Default User
- Re: Linking a C++ library to a C program.
- From: CBFalconer
- Re: Linking a C++ library to a C program.
- From: S.Tobias
- Linking a C++ library to a C program.
- Prev by Date: Re: C, C++ and C# Forums
- Next by Date: Re: what is regular expression
- Previous by thread: Re: Linking a C++ library to a C program.
- Next by thread: HTTP header parsing library
- Index(es):
Relevant Pages
|