Displaying 20 results from an estimated 125 matches for "defn".
Did you mean:
defa
2005 Jul 19
0
build of REventLoop package crashes with 2.1 due tosyntax error in Defn.h (PR#8017)
...$ su
# R CMD INSTALL vjREventLoop_0.2.tar.gz
gcc -I/usr/lib/R/include -I/usr/src/r-base-2.1.1/src/include -fPIC -g -O2
-c Reventloop.c -o Reventloop.o
In file included from /usr/src/r-base-2.1.1/src/include/IOStuff.h:30,
from Reventloop.c:8:
/usr/src/r-base-2.1.1/src/include/Defn.h:886: error: syntax error before
"mbstate_t"
Reventloop.c: In function `R_mainLoop':
Reventloop.c:112: warning: assignment from incompatible pointer type
Reventloop.c:156: warning: assignment from incompatible pointer type
make: *** [Reventloop.o] Error 1
ERROR: compilation failed f...
2005 Jul 20
1
(PR#8017) build of REventLoop package crashes with 2.1 due
In what way is this a bug in R? It looks like a bug in the package, and
as Defn.h is not part of R's API any packge using it is `at risk' (and
cannot be installed in a binary-only installation, or even an installed
version of R).
In particular, Defn,.h depends on config.h, and it seems you installed a
binary version of R and used separate sources. I would suggest...
2007 Nov 26
0
[LLVMdev] Fibonacci example in OCaml
...ere is a complete 104-line native code compiler for a tiny subset of OCaml
that is expressive enough to compile an external Fibonacci program:
type expr =
| Int of int
| Var of string
| BinOp of [ `Add | `Sub | `Leq ] * expr * expr
| If of expr * expr * expr
| Apply of expr * expr
type defn =
| LetRec of string * string * expr
open Camlp4.PreCast;;
let expr = Gram.Entry.mk "expr"
let defn = Gram.Entry.mk "defn"
let prog = Gram.Entry.mk "defn"
EXTEND Gram
expr:
[ [ "if"; p = expr; "then"; t = expr; "else"; f = expr -&...
2008 Jul 01
1
Autoconf / Windows package building problem for device package
...**
adding build stamp to DESCRIPTION
installing NAMESPACE file and metadata
making DLL ...
gcc -std=gnu99 -Ic:/R/R-2.7.0/include -Iinclude -DHAVE_CONFIG_H -O3 -Wall -c devPS.c -o devPS.o
devPS.c:26:20: error: config.h: No such file or directory
In file included from devPS.c:29:
include/Defn.h:1022: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Rf_onsigusr1'
include/Defn.h:1023: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Rf_onsigusr2'
In file included f...
2006 Nov 15
0
INSTALL R-2.4.0 on Compaq Tru64 UNIX V5.1B
.... gmake
it still failed with 'gmake' command,the following are the error messages:
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include
-DHAVE_CONFIG_H -mieee-with-inexact -g -O2 -std=gnu99 -c dynload.c -o
dynload.o
In file included from dynload.c:33:
../../src/include/Defn.h:554: parse error before "R_CStackLimit"
../../src/include/Defn.h:554: warning: type defaults to `int' in
declaration of `R_CStackLimit'
../../src/include/Defn.h:554: warning: data definition has no type or
storage class
../../src/include/Defn.h:555: parse error before "R_CS...
2007 Nov 25
2
[LLVMdev] Fibonacci example in OCaml
Here's my translation of the Fibonacci example into OCaml:
open Printf
open Llvm
let build_fib m =
let fibf =
define_function "fib" (function_type i32_type [| i32_type |]) m in
let bb = builder_at_end (entry_block fibf) in
let one = const_int i32_type 1 and two = const_int i32_type 2 in
let argx = param fibf 0 in
set_value_name "AnArg" argx;
let
1997 Nov 27
2
R-beta: Memory Management in R-0.50-a4
...d
(This is line 358 of src/main/memory.c).
Cutting down the file to around 15000 lines allows
read.table() to work OK.
I edited the memory limits in Platform.h and re-compiled
and now read.table() can manage up to around 125000 lines.
#define R_VSIZE 30000000L /* 15 times original figure (Defn.h) */
#define R_NSIZE 1000000L /* 5 times original figure (Defn.h) */
#define R_PPSSIZE 100000L /* 10 times original figure (Defn.h) */
Clearly I can keep upping these values until it works, but has
the side-effect of making the running R binary pretty big.
What can I do? Is the answ...
2010 Aug 23
1
Speed improvement to PROTECT, UNPROTECT, etc.
...; \
} while (0)
#define REPROTECT(x,i) ( (void) (R_PPStack[i] = x) )
Unfortunately, one can't just change the definitions in Rinternals.h.
Some uses of PROTECT are in places where R_PPStack, etc. aren't
visible. Instead, one can redefine them at the end of Defn.h, where
these variables are declared. That alone also doesn't work, however,
because some references don't work at link time. So instead I
redefine them in Defn.h only if USE_FAST_PROTECT_MACROS is defined.
I define this before including Defn.h in all the .c files in the main
directory...
2016 Aug 03
3
Problem with configuring Xapian
...APIAN_CONFIG as James instructed by running,
./configure XAPIAN_CONFIG=path/to/xapian-config-1.3
I have installed all the dependencies specified in xapian-core HACKING file
including libtool. But I still get the following error when XO_LIB_XAPIAN
is added to configure.ac,
configure.ac:3: error: defn: undefined macro: LT_INIT
aclocal.m4:43: XO_LIB_XAPIAN is expanded from...
configure.ac:3: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
Could anyone tell me what I might be missing?
Best regards,
Amanda
-------------- next part --------------
An HTML attachment was scrubbed...
U...
2003 Feb 06
1
make fails for 1.7.0 on mac os x 10.1
...ort that I thought might also suggest that something was wrong.
/usr/include/gcc/darwin/2.95.2/g++/../machine/limits.h:7: #error architecture not supported
In file included from /usr/include/sys/signal.h:70,
from /usr/include/signal.h:62,
from ../../../src/include/Defn.h:60,
from sockconn.c:32:
/usr/include/machine/signal.h:31: #error architecture not supported
In file included from /usr/include/setjmp.h:25,
from ../../../src/include/Defn.h:61,
from sockconn.c:32:
Any suggestions, greatly appreciated.
url: www....
2011 Oct 16
2
[LLVMdev] Static destructor problem with recent HEAD
...tor
(this=0x1016e48a8) at
/Users/talin/Projects/llvm/lib/Support/Allocator.cpp:29
#3 0x0000000100f3f095 in llvm::BumpPtrAllocator::~BumpPtrAllocator
(this=0x1016e48a8) at
/Users/talin/Projects/llvm/lib/Support/Allocator.cpp:28
#4 0x00000001000aeb3a in llvm::StringMap<llvm::SmallVector<tart::Defn*,
4u>, llvm::BumpPtrAllocator>::~StringMap (this=0x1016e4890) at
StringMap.h:406
#5 0x00000001000aeaa5 in llvm::StringMap<llvm::SmallVector<tart::Defn*,
4u>, llvm::BumpPtrAllocator>::~StringMap (this=0x1016e4890) at
StringMap.h:403
#6 0x00000001000aea7c in tart::SymbolTable::~Sy...
1999 Oct 12
1
Looking for R_Home ...
This is my first question to this list and possibly a bit dumb, but anyway:
Can anybody tell me, where, e.g. in the "unix" reference release a DEFINITION of
char * R_Home can be found? Via Defn.h the "extern" DECLARATION is everywhere,
but when I derived a somewhat other main() program my linker complained about the
missing definition.
Thomas Hoffmann.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwi...
2006 Nov 15
1
Feature request: put NewEnvironment and R_NewhashedEnv into API
Hi,
I would like to be able to create new environments from package C
code. AFAICT, this isn't allowed since both NewEnvironment and
R_NewHashedEnv are declared in Defn.R.
If exposing this isn't controvertial, I would submit a patch.
However, I'm not sure where the declarations should go (Rdefines.h?)
and whether they need to change to Rf_*.
+ seth
2006 May 08
2
problems compiling under solaris
...compile R with gcc version 3.4.2 on a box running Solaris 2.6.
I keep on hitting this error during the compile:
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -std=gnu99 -c dynload.c -o dynload.o
In file included from dynload.c:33:
../../src/include/Defn.h:943: error: parse error before "mbstate_t"
make[3]: *** [dynload.o] Error 1
Has anyone else hit this kind of compile error?
TIA,
-y
[[alternative HTML version deleted]]
2015 Dec 16
2
Building R in 64-bit mode
...dflags="${wl}-brtl ${wl}-G ${wl}-bexpall ${wl}-bnoentry -lc"
+ shlib_ldflags="${wl}-G ${wl}-bnoentry -lc"
SHLIB_LIBADD="\$(LIBM)"
shlib_cxxldflags="${shlib_ldflags}"
if test "${GCC}" = yes; then
diff -ru R-3.2.3.orig/src/include/Defn.h R-3.2.3/src/include/Defn.h
--- R-3.2.3.orig/src/include/Defn.h 2015-08-25 22:15:24 +0000
+++ R-3.2.3/src/include/Defn.h 2015-12-16 10:53:08 +0000
@@ -1271,7 +1271,7 @@
void invalidate_cached_recodings(void); /* from sysutils.c */
void resetICUcollator(void); /* from util.c */
void dt_...
2016 Dec 24
0
distinct DISubprograms hindering sharing inlined subprogram descriptions
...e the strangely-coalesced distinct DICompositeType beast I created).
>
> Perhaps before I dive into your suggestion (which, it seems, is to separate out the definition but let the declaration/locals form cycles
No (new) cycles; in fact this breaks some.
- the Function itself references the defn and the locals;
- the locals and the defn reference (transitively) the decl; and
- the decl doesn't reference any of those.
The only cycle is the decl <-> composite type one that already exists (and that odr magic (mostly) fixes). Maybe that one could be removed somehow too, but it isn&...
2013 Jan 11
2
[LLVMdev] Sub-Register Allocation
...ly
looking for where to look to understand what's going on and/or extra
documentation on how subregisters work inside the instruction and registers
selectors.
Thank you,
-- Kenneth Waters
P.S. If it helps, my register definitions look like,
multiclass M68kDataReg<bits<3> num, string defn, string n> {
def B : M68kReg<num, n>;
def W : M68kRegWithSubregs<num, n, [!cast<Register>(defn # "B")]> {
let SubRegIndices = [sub_byte];
}
def L : M68kRegWithSubregs<num, n, [!cast<Register>(defn # "W")]> {
let SubRegIndices = [s...
1998 Apr 02
1
attributes now inherited
...s in the
Blue Book (pg. 257)
Enclosed is the output from "diff -c" from /R-0.61.1/src for:
main/arithmetic.c (calls my new routine based on Blue Book rules)
main/attrib.c (I added a new routine: copyMostAttrib)
main/complex.c (calls my new routine based on Blue Book rules)
include/Defn.h (one line addition to define copyMostAttrib)
We hope you will find this useful and install it in the next R release.
...Steve Oncley and Gordon Maclean
National Center for Atmospheric Research
Boulder, Colorado USA
(where the sun will soon set into the mountains)
****************************...
2011 Oct 16
0
[LLVMdev] Static destructor problem with recent HEAD
...> /Users/talin/Projects/llvm/lib/Support/Allocator.cpp:29
> #3 0x0000000100f3f095 in llvm::BumpPtrAllocator::~BumpPtrAllocator
> (this=0x1016e48a8) at
> /Users/talin/Projects/llvm/lib/Support/Allocator.cpp:28
> #4 0x00000001000aeb3a in llvm::StringMap<llvm::SmallVector<tart::Defn*,
> 4u>, llvm::BumpPtrAllocator>::~StringMap (this=0x1016e4890) at
> StringMap.h:406
> #5 0x00000001000aeaa5 in llvm::StringMap<llvm::SmallVector<tart::Defn*,
> 4u>, llvm::BumpPtrAllocator>::~StringMap (this=0x1016e4890) at
> StringMap.h:403
> #6 0x00000001000a...
1999 Aug 03
3
RW 0.64.2 substring() string truncation?
Hi,
(First, apology for my earlier incorrectly addressed "subscribe"
post.)
Can somebody tell me what exactly is going on below. Basically, I am
running into some kind of "string truncation" problem when I try
to get a substring starting past the 8192nd character (see sample
session below). There doesn't appear to be any problem creating the
string, and nchar()