The R Project SVN R

Rev

Rev 83455 | Rev 83529 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 83455 Rev 83513
Line 1... Line 1...
1
/*
1
/*
2
 *  R : A Computer Language for Statistical Data Analysis
2
 *  R : A Computer Language for Statistical Data Analysis
3
 *  Copyright (C) 1995, 1996  Robert Gentleman and Ross Ihaka
3
 *  Copyright (C) 1995, 1996  Robert Gentleman and Ross Ihaka
4
 *  Copyright (C) 1998--2017  The R Core Team.
4
 *  Copyright (C) 1998--2022  The R Core Team.
5
 *
5
 *
6
 *  This program is free software; you can redistribute it and/or modify
6
 *  This program is free software; you can redistribute it and/or modify
7
 *  it under the terms of the GNU General Public License as published by
7
 *  it under the terms of the GNU General Public License as published by
8
 *  the Free Software Foundation; either version 2 of the License, or
8
 *  the Free Software Foundation; either version 2 of the License, or
9
 *  (at your option) any later version.
9
 *  (at your option) any later version.
Line 41... Line 41...
41
extern "C" {
41
extern "C" {
42
#else
42
#else
43
# include <stdio.h>
43
# include <stdio.h>
44
#endif
44
#endif
45
 
45
 
-
 
46
// See R_exts/Error.h
-
 
47
#if defined NORET
-
 
48
#elif (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202301L) || defined(__cplusplus)
-
 
49
# define NORET [[noreturn]]
-
 
50
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201102L
-
 
51
# define NORET _Noreturn
46
#if defined(__GNUC__) && __GNUC__ >= 3
52
#elif defined(__GNUC__) && __GNUC__ >= 3
47
# define NORET __attribute__((noreturn))
53
# define NORET __attribute__((noreturn))
48
#else
54
#else
49
# define NORET
55
# define NORET
50
#endif
56
#endif
51
 
57