From: Shriramana Sharma <samjnaa@gmail.com>
To: Glynn Clements <glynn@gclements.plus.com>
Cc: Linux C Programming List <linux-c-programming@vger.kernel.org>
Subject: Re: C or C++
Date: Wed, 16 May 2007 19:14:33 +0530 [thread overview]
Message-ID: <464B0AC1.2070501@gmail.com> (raw)
In-Reply-To: <17979.14634.85216.727844@cerise.gclements.plus.com>
Glynn Clements wrote:
> If it's likely to be useful to other libraries, there's a strong
> incentive to use C, or at least to provide a C API (the standard
> implementation of GLU is written in C++, although the public API only
> uses C).
Would it be enough if I ensure that the API header file does not contain
any C++-only usages for such a library internally implemented in C++ to
be linkable from a C program or library?
Or would there be problems with the C linker not being able to resolve
references from the C object code to C++ symbols in the library? (I hope
I got that terminology correct.)
Thanks again.
Shriramana Sharma.
next prev parent reply other threads:[~2007-05-16 13:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-04 11:00 C or C++ Shriramana Sharma
2007-05-04 11:17 ` leslie.polzer
2007-05-04 13:46 ` Glynn Clements
2007-05-16 13:44 ` Shriramana Sharma [this message]
2007-05-22 18:10 ` Glynn Clements
-- strict thread matches above, loose matches on Subject: below --
2007-05-02 14:20 Shriramana Sharma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=464B0AC1.2070501@gmail.com \
--to=samjnaa@gmail.com \
--cc=glynn@gclements.plus.com \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.