[gnu.g++.lib.bug] setjmp.h define

bryan@relay.eu.net (Bryan Boreham) (11/15/89)

This is setjmp.h from libg++:

#ifndef _setjmp_h
#pragma once
#define _setjmp_h 1
   
#if defined(vax) || defined(ns32000)
static const int _JBLEN = 10;
#elif defined(sun2) || defined(sun3)		<--- Never going to happen
static const int _JBLEN = 58;
#elif defined(sun386)
static const int _JBLEN = 8;
#elif defined(sparc)
static const int _JBLEN = 9;
#endif
   
typedef int jmp_buf[_JBLEN];
   
extern int setjmp(jmp_buf);
extern void longjmp(jmp_buf, int);
   
#endif


If we look in tm-sun3.h and tm-sun2.h in gcc/g++, we see this:

#define CPP_PREDEFINES "-Dmc68000 -Dsun -Dunix"

So "sun2" and "sun3" are not defined.  Someone is wrong.

Bryan.