Skip to content

Commit

Permalink
defining STRICT_R_HEADERS is no longer needed
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@87525 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
ripley committed Jan 5, 2025
1 parent 98145dc commit ca021f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
4 changes: 0 additions & 4 deletions doc/NEWS.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,6 @@
\code{Free}: use \code{M_PI}, \code{R_Calloc}, \code{R_Realloc} or
\code{R_Free} instead.
\emph{\I{Pro tem}} \code{STRICT_R_HEADERS} is defined in header
\file{R_ext/RS.h} if not already defined. This is not used in \R
itself and will be removed before release.
\item The deprecated and seemingly never-used S-compatibility
macros \code{F77_COM} and \code{F77_COMDECL} have been removed
from header \file{R_ext/RS.h}.
Expand Down
10 changes: 2 additions & 8 deletions src/include/R_ext/RS.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* R : A Computer Language for Statistical Data Analysis
* Copyright (C) 1999-2024 The R Core Team.
* Copyright (C) 1999-2025 The R Core Team.
*
* This header file is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down Expand Up @@ -38,12 +38,6 @@

#include <Rconfig.h> /* for HAVE_F77_UNDERSCORE */

/* Temprorary fix for a package that assumes this is set. */

#ifndef STRICT_R_HEADERS
# define STRICT_R_HEADERS
#endif

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -76,7 +70,7 @@ extern void *R_chk_memset(void *, int, R_SIZE_T);
blocks, and some compilers may need to specify Fortran linkage.
HP-UX did not add a trailing underscore. (It still existed in
2024, but R poiorts had not been seen for many years.)
2024, but R ports had not been seen for many years.)
Note that this is an F77 interface, intended only for valid F77
names of <= 6 ASCII characters (and no underscores) and there is an
Expand Down

0 comments on commit ca021f3

Please sign in to comment.