Displaying 8 results from an estimated 8 matches for "wconstant".
Did you mean:
constant
2015 May 20
2
[PATCH] fix a wrong use of a logical operator in drmmode_output_dpms()
This is probably a typo error which has been introduced in 2009...
This fixes the following warning detected by Clang :
drmmode_display.c:907:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
if (props && (props->flags && DRM_MODE_PROP_ENUM)) {
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
src/drmmode_display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/drmmode_display.c b/src/drmmode_displa...
2013 Sep 24
1
[LLVMdev] possible dwarf regression
...rror: operation combines symbols in different segments
clang: error: assembler command failed with exit code 1 (use -v to see
invocation)
specmake: *** [perlio.o] Error 1
specmake: *** Waiting for unfinished jobs....
regexec.c:3275:111: warning: use of logical '||' with constant operand
[-Wconstant
This is on the line
$set1406 = ($.bss_end)-PerlIO_fd_refcnt
.bss
$.bss_end:
.section .rodata.str1.1,"aMS", at progbits,1
$.str34:
.asciz "r"
.size $.str34, 2
.type PerlIO_fd_refcnt, at object
.comm PerlIO_fd_refcnt,8192,4
....
2012 Mar 24
0
Loess CI
...here is my code (for the first
observation in x1:
x1 <- 1:156 # x
set.seed(123)
y <- arima.sim(list(order=c(2,0,0), ar=c(1,-.1)), n=156) # randomly
generated y
lo1 <- loess(y ~ x1, span=0.4) # loess smoother for y ~ x
df <- lo1$one.delta # estimated df from r
wconstant <- summary(lo1)[17]$weights # set weight; otherwise 1 (as in
this case)
res <- residuals(lo1) # y-yhat
ss <- sum(wconstant *res^2)
s <- sqrt(ss/df) # r terms this residual standard error
x0 <- x1[1] # focal x for first observation
dist1 <- abs(x1 - x0) # dis...
2015 May 20
2
[PATCH] fix a wrong use of a logical operator in drmmode_output_dpms()
...17:08, Samuel Pitoiset wrote:
>>
>> This is probably a typo error which has been introduced in 2009...
>> This fixes the following warning detected by Clang :
>>
>> drmmode_display.c:907:30: warning: use of logical '&&' with constant
>> operand [-Wconstant-logical-operand]
>> if (props && (props->flags && DRM_MODE_PROP_ENUM)) {
>>
>> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
>> ---
>> src/drmmode_display.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)...
2011 Jul 18
5
[LLVMdev] dragonegg svn still broken
...In file included from /sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin11.0.0/4.5.3/plugin/include/tree-flow.h:29:
/sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin11.0.0/4.5.3/plugin/include/gimple.h:4376:24: warning: implicit truncation from 'int' to bitfield changes value from -32769 to
32767 [-Wconstant-conversion]
gs->gsbase.subcode &= ~GF_PREDICT_TAKEN;
^ ~~~~~~~~~~~~~~~~~
/sw/src/fink.build/dragonegg-gcc45-3.0-1/dragonegg-3.0/src/Convert.cpp:429:64: error: too many arguments to function call, expected 3, have 4...
2015 Mar 20
5
[LLVMdev] Enabling stricter warnings for Windows builds
I've been guilty several times recently of committing code that introduced build warnings. It's a poor excuse, but my excuse is that I've been working on code for Windows and LLVM doesn't enable strict warnings by default on Windows and produces nearly half a million warnings (literally) if you manually turn them on. As such, I thought I'd make an effort to see what it would
2011 Jul 18
0
[LLVMdev] dragonegg svn still broken
...gt; /sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin11.0.0/4.5.3/plugin/include/tree-flow.h:29:
> /sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin11.0.0/4.5.3/plugin/include/gimple.h:4376:24:
> warning: implicit truncation from 'int' to bitfield changes value from
> -32769 to
> 32767 [-Wconstant-conversion]
> gs->gsbase.subcode &= ~GF_PREDICT_TAKEN;
> ^ ~~~~~~~~~~~~~~~~~
> /sw/src/fink.build/dragonegg-gcc45-3.0-1/dragonegg-3.0/src/Convert.cpp:429:64:
> error: too many arguments to function call, expected 3, have 4
>...
2013 May 02
3
Minimal build of R ...
Hi,
I'm trying to cross-compile R to javascript so that it can run in a web-browser. Take as long as you need to stop laughing. So, as I was saying - I want to try and get a build of R running in the browser. [If you're not familiar with it already, you might enjoy looking at emscripten.org. It's a remarkably capable tool for translating LLVM bitcode to javascript. Check out some of