Work around a bug by adding struct tags. gcc-2.95 apparently gets the
check in the [basic.link] section of the C++ standard wrong. gcc-2.7.2.3 apparently doesn't do the check, so the bug doesn't affect RELENG_3. PR: 16170, 21427 Submitted by: Max Khon <fjoe@lark.websci.ru> (i386 version) Discussed with: jdp
This commit is contained in:
parent
85918e53b0
commit
3a35c5bf34
@ -40,7 +40,7 @@
|
||||
* internally to avoid some run-time errors for mismatches.
|
||||
*/
|
||||
#ifndef _ANSI_SOURCE
|
||||
typedef struct { long _sjb[_JBLEN + 1]; } sigjmp_buf[1];
|
||||
typedef struct _sigjmp_buf { long _sjb[_JBLEN + 1]; } sigjmp_buf[1];
|
||||
#endif /* not ANSI */
|
||||
|
||||
typedef struct { long _jb[_JBLEN + 1]; } jmp_buf[1];
|
||||
typedef struct _jmp_buf { long _jb[_JBLEN + 1]; } jmp_buf[1];
|
||||
|
@ -40,7 +40,7 @@
|
||||
* internally to avoid some run-time errors for mismatches.
|
||||
*/
|
||||
#ifndef _ANSI_SOURCE
|
||||
typedef struct { int _sjb[_JBLEN + 1]; } sigjmp_buf[1];
|
||||
typedef struct _sigjmp_buf { int _sjb[_JBLEN + 1]; } sigjmp_buf[1];
|
||||
#endif /* not ANSI */
|
||||
|
||||
typedef struct { int _jb[_JBLEN + 1]; } jmp_buf[1];
|
||||
typedef struct _jmp_buf { int _jb[_JBLEN + 1]; } jmp_buf[1];
|
||||
|
@ -40,7 +40,7 @@
|
||||
* internally to avoid some run-time errors for mismatches.
|
||||
*/
|
||||
#ifndef _ANSI_SOURCE
|
||||
typedef struct { int _sjb[_JBLEN + 1]; } sigjmp_buf[1];
|
||||
typedef struct _sigjmp_buf { int _sjb[_JBLEN + 1]; } sigjmp_buf[1];
|
||||
#endif /* not ANSI */
|
||||
|
||||
typedef struct { int _jb[_JBLEN + 1]; } jmp_buf[1];
|
||||
typedef struct _jmp_buf { int _jb[_JBLEN + 1]; } jmp_buf[1];
|
||||
|
@ -40,7 +40,7 @@
|
||||
* internally to avoid some run-time errors for mismatches.
|
||||
*/
|
||||
#ifndef _ANSI_SOURCE
|
||||
typedef struct { long _sjb[_JBLEN + 1]; } sigjmp_buf[1];
|
||||
typedef struct _sigjmp_buf { long _sjb[_JBLEN + 1]; } sigjmp_buf[1];
|
||||
#endif /* not ANSI */
|
||||
|
||||
typedef struct { long _jb[_JBLEN + 1]; } jmp_buf[1];
|
||||
typedef struct _jmp_buf { long _jb[_JBLEN + 1]; } jmp_buf[1];
|
||||
|
Loading…
x
Reference in New Issue
Block a user