mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
5e36b573bc
commit
cc46dff67f
4 changed files with 8 additions and 8 deletions
|
|
@ -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…
Reference in a new issue