Displaying 20 results from an estimated 200 matches similar to: "[LLVMdev] Clang fails to compile template with dependendent Non type template parameter."
2012 Oct 23
1
[LLVMdev] Clang fails to compile template with dependendent Non type template parameter.
Hi All,
I'm trying to compile the following code on clang-
template <int dim> class X {};
template <class T> struct Y {
static const unsigned int dim = 1 ;
template <class U> X<Y<T>::dim> f();
};
template <class T> template <class U>
X<Y<T>::dim> Y<T>::f() { return X<dim>(); }
int main()
{
Y<int>().f<int>();
2008 Jul 28
1
Is there a way to avoid loading dependendent packages?
Hello R help list
I have been using the smoothScatter function within the "geneplotter"
package to make some graphs using a Sweave Rnw script called via Rscript
in a DOS/Windows batch file. The Rscript will ultimately be called by a
web service with time-out constraints, hence things need to run as
swiftly as possible.
The geneplotter package is currently loaded each time R is invoked
2006 Jun 28
1
How to startup multi auth daemond
Hi all?
I want restrict some user to use POP3 and some other to use SMTP.
I consider to startup multi Auth daemond and each use a diffenent SQL.
For example:
for pop3?
select .... where pop3_service=1 and ...
for smtp:
select .... where smtp_service=1 and ...
I don't know if this is a good idea and how to setup dovecot to do so.
Is there any suggest?
Thanks!
--
2020 Apr 08
2
[RFC PATCH 00/26] Runtime paravirt patching
On Tue, Apr 07, 2020 at 10:02:57PM -0700, Ankur Arora wrote:
> A KVM host (or another hypervisor) might advertise paravirtualized
> features and optimization hints (ex KVM_HINTS_REALTIME) which might
> become stale over the lifetime of the guest. For instance, the
> host might go from being undersubscribed to being oversubscribed
> (or the other way round) and it would make sense
2020 Apr 08
2
[RFC PATCH 00/26] Runtime paravirt patching
On Tue, Apr 07, 2020 at 10:02:57PM -0700, Ankur Arora wrote:
> A KVM host (or another hypervisor) might advertise paravirtualized
> features and optimization hints (ex KVM_HINTS_REALTIME) which might
> become stale over the lifetime of the guest. For instance, the
> host might go from being undersubscribed to being oversubscribed
> (or the other way round) and it would make sense
2020 Apr 08
0
[RFC PATCH 00/26] Runtime paravirt patching
On 08.04.20 14:08, Peter Zijlstra wrote:
> On Tue, Apr 07, 2020 at 10:02:57PM -0700, Ankur Arora wrote:
>> Mechanism: the patching itself is done using stop_machine(). That is
>> not ideal -- text_poke_stop_machine() was replaced with INT3+emulation
>> via text_poke_bp(), but I'm using this to address two issues:
>> 1) emulation in text_poke() can only easily
2003 Sep 18
1
2 time dependend states and probability transition matrix
Hi,
have got anybody experience or a starting
point for me, how i can program a function
which calculate me a probability transition matrix with a data.frame and two states.
I have some independend variable and a class variable
for two states - in example one from Jan2003 and the same variables from June2003.
Now i would like to calculate the probability that PERSON X change
from classA to
2004 Apr 14
1
source dependend path in rsyncd?
Hi,
can I make one rsync url available to several
machines, but on the rsync server, direct
that url to different directories?
for example allow all hosts to access /foo
but direct host a to /some/path/foo-a/,
host b to /other/path/to/foo-b/
and so on?
Thanks.
Andreas
2011 Mar 11
1
WARNING Undocumented S4 methods 'initialize' - why?
Dear all,
I am just writing the documentation file for S4 class 'QualTreeSet' and
get the following warning with R CMD check:
* checking for missing documentation entries ... WARNING
Undocumented S4 methods:
generic 'initialize' and siglist 'QualTreeSet'
All user-level objects in a package (including S4 classes and methods)
should have documentation entries.
See the
2012 Oct 08
1
[LLVMdev] Fwd: Multiply i8 operands promotes to i32
Hello Pedro,
As others have said we're assuming that you're using Clang as the frontend,
the MSP430TargetInfo class inside lib/Basic/Targets.cpp (clang codebase)
set ints to be 16 bits wide, so you should get 16bit mults straight away
without promotion. But anyways for 8bit multiplicantions you can do the
following to bypass argument promotion:
1) go to the lib/CodeGen/TargetInfo.cpp
2016 Dec 24
1
failure at link time 3.9.1
As a note, I experimentally attempted to build 391 branch "just llvm +
clang" on ubuntu the other day, and got this:
[ 90%] Linking CXX executable ../../../../bin/clang
../../../../lib/libclangCodeGen.a(ObjectFilePCHContainerOperations.cpp.o):
In function `(anonymous
namespace)::PCHContainerGenerator::DebugTypeVisitor::VisitImportDecl(clang::ImportDecl*)':
2020 Apr 07
3
Splitting up Type.h: Good idea, bad idea?
Hello Clang folks,
I was using -ftime-trace to see where the compiler spends time parsing
clang's own headers, and it pointed me to Type.h. Many AST headers need
QualType to be complete, but they do not need the full type class
hierarchy. To improve compile time, I have attempted to create a new
header, QualType.h, that defines only the QualType wrapper class. I have
started to transition
2012 Nov 16
1
[LLVMdev] Failure while calling a function in GDB session
Hi All,
I compiled the following code on my linux PC using clang with PIE option-
struct struct4 {char a; char b; char c; char d; };
struct struct4 foo4 = {'a','2','c','4'};
struct struct4 fun4()
{
return foo4;
}
int main()
{
fun4();
return 0;
}
> clang -g -fPIE structs.c
In GDB session when i call p/c fun4() i get something like below-
(gdb) p/c
2013 Dec 10
2
[LLVMdev] Switching to the new MingW ABI
On Tue, Dec 10, 2013 at 11:58 AM, Hans Wennborg <hans at chromium.org> wrote:
> It would be nice if we could make the TypePrinter not print the
> calling convention if it's the default one for the ABI, but
> TypePrinter doesn't have a lot of context.. no Sema, no ASTContext :/
>
Does this patch fix any failures for you? It doesn't fix that test case,
unfortunately.
2007 Jun 26
2
Power calculation with measurement error
Hi all,
Hopefully this will be quick, I'm looking for pointers to packages/
functions that would allow me to calculate the power of a t.test when
the DV has measurement error. That is, I understand that, ceteris
paribus, experiments using measure with more error (lower
reliability) will have lower power.
Mike
--
Mike Lawrence
Graduate Student, Department of Psychology, Dalhousie
2012 Aug 06
2
[LLVMdev] [cfe-dev] [RFC] MS-style inline assembly
On Aug 6, 2012, at 1:03 PM, João Matos wrote:
> 1. How is clang going to discover the input operands, output operands,
> constraints, and clobbered registers?
>
> The approach you described sounds good to me. Reusing all the work done in the LLVM MC layer seems the right approach.
Glad you agree. We really shouldn't be replicating information in the frontend; this very error
2015 Aug 18
3
[RFC PATCH 1/2] [clang]: Add AuxAttr support
This patch adds EmitTypeAuxAttribute() function to CGDebugInfo, which
allows other parts of clang issue auxiliary information through an
enumeration type in Dwarf information. For example, by calling
DI->EmitTypeAuxAttribute(type, "ID", 1234);
We can get following information in dwarf:
<1><3f>: Abbrev Number: 3 (DW_TAG_structure_type)
<40> DW_AT_name
2009 May 18
1
Auto-upgrading a package under Windows ?
I was trying to be cute with a company-internal package and used
if (Sys.info()["sysname"]=="Windows") {
update.packages(repos="http://some.where.internal/R", ask=FALSE)
}
but that of course fails as the package itself is loaded and cannot be
upgraded (as it contains a dll) when loaded. Smart move by the OS.
Can anybody suggest a workaround, other
2010 Mar 01
1
[LLVMdev] Clang build problem
Just got clang from head and getting:
ExprConstant.cpp: In function Obool
TryEvaluateBuiltinNaN(clang::ASTContext&, clang::QualType, const
clang::Expr*, bool, llvm::APFloat&)¹:
ExprConstant.cpp:1578: error: no matching function for call to
Ollvm::StringRef::getAsInteger(int, llvm::APInt&)¹
/home/neale/LLVM/llvm/include/llvm/ADT/StringRef.h:269: note: candidates
are: bool
2012 Dec 28
0
[LLVMdev] Function inline causes crash in clang for .ast to .s
Hi,
Could anyone please comment on this ?
Regards,
Rajesh
On Wed, Dec 19, 2012 at 6:54 PM, rajesh viswabramana <
viswabramana.rajesh at gmail.com> wrote:
> Hi,
>
> Clang crashes when tried to compile from .ast to .s for below sample code,
>
> inline-test.c
> **
> *extern inline int func1 (void) { return 0; }
> inline int func1 (void) { return 1; }*
>
>