-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stephen J. Turnbull wrote:
Vladimir G. Ivanovic writes:
> > sysdep.h:30: error: previous declaration of 'char** environ' with
'C++' linkage
> > /usr/include/gentoo-multilib/amd64/unistd.h:496: error: conflicts with new
declaration with 'C' linkage
> Is this an XEmacs problem or a Gentoo problem?
Looks like an XEmacs problem to me. We shouldn't be randomly giving
C++ linkage to system identifiers, right?
It'll be a couple days before I can look at it, patches welcome.
This error occurs when compiling dired.c. What I don't understand is
why this error has not cropped up before in the compilation sequence.
The files alloc.c, console-stream.c, console.c and device.c all
#include sysdeps.h and are compiled before dired.c is. Yet g++ doesn't
complain until it gets to dired.c
BTW, I'm using the g++ compiler merely to generate build errors, as a
sort of QA effort. If I'm wasting everyone's time, please let me know
and I'll stop.
- --- Vladimir
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (GNU/Linux)
iD8DBQFGXLelEo/yvZUwubMRAkqGAKCBixOrZoB4IyYNuCTJx/Jyln8nrwCZAV/q
KE08h3Ez5adbauIkeP+xyFg=
=qfQR
-----END PGP SIGNATURE-----
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta