Displaying 2 results from an estimated 2 matches for "r_problem_bufsize".
1999 Jun 14
4
definition of R_problem_buf in S.h (PR#210)
Full_Name: Thomas Vogels
Version: 0.64.1
OS: AIX 4.2
Submission from: (NULL) (198.133.22.70)
R_problem_buf is defined, not just declared, in S.h:
#define R_PROBLEM_BUFSIZE 4096
char R_problem_buf[R_PROBLEM_BUFSIZE];
This is bad since every time S.h is included this buffer is defined. The
linker
will eventually complain about multiple definitions of this symbol.
Solution: declare R_problem_buf to be extern in S.h, then allocate memory for
it
in a source file, like...
1999 Oct 27
1
Rdefines.h
Hi all,
may I request the following two changes to Rdefines.h (R 0.65.1)?
1.) Change line 106 from
#define Free(p) R_chk_free( (void *)(p) )
to
#define Free(p) R_chk_free( (void *)(p) ) , p=NULL
2.) Add after line 79:
#define PROBLEM {char R_problem_buf[R_PROBLEM_BUFSIZE];sprintf(R_problem_buf,
a new line 80:
#define PROBLEM {char R_problem_buf[R_PROBLEM_BUFSIZE];sprintf(R_problem_buf,
#define MESSAGE {char R_problem_buf[R_PROBLEM_BUFSIZE];sprintf(R_problem_buf,
The rationale behind both changes is to become more compatible with
S.h from S-PLUS.
Additionally,...