bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C -> C++ bug in header file gmp.h


From: librik
Subject: Re: C -> C++ bug in header file gmp.h
Date: Wed, 27 Feb 2002 18:56:35 -0500 (EST)

Kevin Ryde writes:
> I never knew plain variables were mangled.  My ignorance of C++ is
> exposed yet again.  What compiler is this?

Microsoft Visual C++.  This happens with DLL-imported variables
(using __declspec(dllimport)); I don't know if it happens with
ordinary extern variables.

> Yep, thanks.  Though I think in fact I'll move them up to the existing
> extern "C" block.

That's the right solution, then.  Thanks!

- David Librik



reply via email to

[Prev in Thread] Current Thread [Next in Thread]