Skip to content

Commit

Permalink
solve CRAN issues with clang13
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes committed Sep 1, 2021
1 parent 2fb2a7b commit 5ad667a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
Empty file added configure.win
Empty file.
6 changes: 4 additions & 2 deletions src/poismf.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ extern "C" {
#include <string.h>
#include <stddef.h>
#include <limits.h>
#include <signal.h>
typedef void (*sig_t_)(int);
#ifdef _OPENMP
#include <omp.h>
#else
Expand All @@ -74,6 +76,7 @@ extern "C" {
#define sparse_ix size_t
#include <stdio.h>
#else
#include <limits.h>
#include <Rinternals.h>
#include <R.h>
#include <R_ext/Rdynload.h>
Expand All @@ -82,9 +85,8 @@ extern "C" {
#define fprintf(f, ...) REprintf(__VA_ARGS__)
#define sparse_ix int
#undef USE_FLOAT
#include <Rinternals.h>
#endif
#include <signal.h>
typedef void (*sig_t_)(int);

#ifndef USE_FLOAT
#ifndef real_t
Expand Down
5 changes: 0 additions & 5 deletions src/rwrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@
if wrapping it for a different language. */
#ifdef _FOR_R

#include <R_ext/Rdynload.h>
#include <R.h>
#include <Rinternals.h>
#include <limits.h>
#include <math.h>
#include "poismf.h"

/* FORTRAN-BLAS -> CBLAS */
Expand Down

0 comments on commit 5ad667a

Please sign in to comment.