GMP causes spew of warnings on Mac OS X
robert delius royar
xemacs at frinabulax.org
Mon Apr 19 09:33:47 EDT 2004
On Mon, 19 Apr 2004 about 22:15 +1000 UTC Malcolm Purvis wrote:
> >>>>> "robert" == robert delius royar <xemacs at frinabulax.org> writes:
>
> robert> Yes, there are no warnings such as you had with --use-number-lib=gmp
> robert> (--use-union-type is also in the config). I just compiled the latest
> robert> CVS and installed.
>
> Ah! It's a C++ thing. Try again with --xemacs-compiler=g++.
>
> gmp.h does check for C++ compilation in a few places, but maybe they don't
> perform compilations with as so many warnings enabled as we do.
>
> Malcolm
No, the only difference between g++ and gcc compile for the affected files
is this warning from g++
cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not for
C++
When I remove "-Wmissing-declarations" from the compile, no warnings at all,
or rather none for the files that contain #ifdef HAVE_BIGNUM
The darwinports' patched files tend to be very close to FreeBSD sources, and
that is good for OS X. It is getting easier to compile software on the Mac
that compiles on FreeBSD with only minor changes to configure. The problem
is primarily (in my experience) with differences in the linker parameter
names and the fact that Apple's libtool is very much non-standard and will
not recognize directives that GNUlibtool does. The reverse is also the
case.
I am still seeing problems with cpan and cpanplus caused by these
inconsistencies--problems I don't see on FreeBSD.
--
Dr. Robert Delius Royar Associate Professor of English
Morehead State University Morehead, Kentucky
A man can pretend to be unconscious; but *conscious*?
-Ludwig Wittgenstein
More information about the XEmacs-Beta
mailing list