Re: Transitioning libgomp from C to C++ implementation

"Richard Earnshaw \(foss\) via Gcc" <[email protected]>
Newsgroups gmane.comp.gcc.devel
Message-ID <[email protected]>
On 08/05/2026 13:23, Alex (Waffl3x) wrote:
> On Fri, May 8, 2026 at 3:51 AM Martin Uecker <[email protected]> wrote:
>>
>> A C library you can usually be used everywhere without much trouble,
>> including various kernel, embedded, and free-standing contexts. So
>> this usually provides more value to users.  This may be irrelevant for
>> libgomp though.
>>
>> Martin
> 
> C++ supports specifying language linkage with extern "C", the interface
> of a library does not need to match its implementation. Which is also
> what is being proposed here to avoid breaking ABI.
> 
> Alex

That may not be enough if you end up depending on libstdc++ during linking.

R.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.