On Mon, 3 Mar 2003, Marc Aurele La France wrote:

> On Sun, 2 Mar 2003, David Dawes wrote:
> > On Sat, Mar 01, 2003 at 08:27:49PM -0700, Marc Aurele La France wrote:
> > >On Sat, 1 Mar 2003, Mark Vojkovich wrote:

> > >>   setjmp is a *macro* (for __sigsetjmp) defined in /usr/include/setjmp.h.
> > >> This is libc 2.2. so it doesn't set HAS_GLIBC_SIGSETJMP.
> > >> SYMCFUNCALIAS chokes on this.  This is gcc 2.95.3.

> > >>    I think the HAS_GLIBC_SIGSETJMP set logic is wrong.

> > >You've got glibc 2.2.1, I'll guess.  The #if's should be looking for glibc
> > >< 2.2.2, not 2.2, although a host.def override is available (see
> > >xfree86.cf).

> > OK, so using the version macros in <features.h> isn't good enough here,
> > and it has to be done with the imake LinuxCLib*Version parameters instead.

> I don't think that's necessary.  It is simpler to #define HAS_GLIBC_SIGSETJMP
> for all of glibc 2.2.*, which is, in part, what I'll be committing
> shortly, after I iron out my libc5 problem.

On a related matter, in libGLU's mysetjmp.h, there is

        inline int
        mysetjmp( JumpBuffer *j )
        {
            return ::setjmp( j->buf );
        }

... and something similar for longjmp().  Now my (spoken) C++ is less than
adequate, but what the heck does "::" do/mean?

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Computing and Network Services  |  fax:    1-780-492-1729           |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]          |
|  University of Alberta           +-----------------------------------+
|  Edmonton, Alberta               |                                   |
|  T6G 2H1                         |     Standard disclaimers apply    |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 Core Team member.  ATI driver and X server internals.

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to