Aww... Nevermind, it worked. Silly me, forgot to clean CMake cache.
Thanks a lot!
Daniel Ribeiro Maciel Wrote:
> Funny, I couldn't get that to work. I put both variables in my
> CMakeDCompiler.cmake.in.
> =[
>
> Daniel Ribeiro Maciel Wrote:
>
> > Hey, tha
Funny, I couldn't get that to work. I put both variables in my
CMakeDCompiler.cmake.in.
=[
Daniel Ribeiro Maciel Wrote:
> Hey, thanks a lot, I'm gonna try that!
>
> Heromyth Wrote:
>
> > Daniel Ribeiro Maciel Wrote:
> >
> > > Hey guys!
> &g
Cool.
I was thinking about something like:
auto foo = new Foo();
auto mo = new MetaObject!Foo( foo );
auto returnValue = mo.invoke( "aMethodName", "a param", "more params",
10, 20 );
Best Regards,
Daniel
Heya ppl!
I was wondering if is there anyone working on a Runtime Reflection
library using __traits.
I am working on one myself, but hey, if someone is already doing it,
why reinvent the wheel, right?
Best Regads,
Daniel
Hey, thanks a lot, I'm gonna try that!
Heromyth Wrote:
> Daniel Ribeiro Maciel Wrote:
>
> > Hey guys!
> >
> > The linker can't handle *.d.obj files:
> >
> > http://d.puremagic.com/issues/show_bug.cgi?id=2886
> >
> > I really nee
Hello! I'm currently having this issue using __traits. Can anyone tell me what
am I doing wrong, or whether this is a compiler bug or not?
Thanks!
Source code is attached to this message.
S:\Repositorios\tpp\trunk\script.d(15): Error: string expected as second
argument of __traits getMember ins
Oh, nevermind about the source code. Haha. I will keep looking into CMake.
Crossing fingers to see this issue fixed though. Thanks.
Daniel Ribeiro Maciel Wrote:
> Yes, it is sad indeed, cuz I dont know how to instruct CMake to generate
> objects using a different naming convention.
>
ter Bright Wrote:
>
> > Daniel Ribeiro Maciel wrote:
> > > Hey guys!
> > >
> > > The linker can't handle *.d.obj files:
> > >
> > > http://d.puremagic.com/issues/show_bug.cgi?id=2886
> > >
> > > I really need this issue f
Hey guys!
The linker can't handle *.d.obj files:
http://d.puremagic.com/issues/show_bug.cgi?id=2886
I really need this issue fixed, so can any of you guys point me in the right
direction? Where can I find its source code and where to begin and stuff...
It is really ruining my CMake building sc
, members[i])
)) );
}
void main() {
exportObject!( Foo, "bla", "foo" )();
}
Daniel Ribeiro Maciel Wrote:
> Heya!
>
> Ok, let me explain what I want to do:
>
>
> import std.stdio: writeln;
>
> class Foo {
> float bla() { return 0.
(getVirtualFunctions, Foo, member) )) );
}
Is that possible?
Best regards,
Daniel
bearophile Wrote:
> Daniel Ribeiro Maciel:
>
> Try this:
>
> import std.stdio: writeln;
>
> class Foo {
> float bla() { return 0.0; }
> void foo() {}
> }
>
> void main() {
Thanks a lot ppl. I got to build it on Linux. Gonna try to build on Windows @
home.
Walter Bright Wrote:
> Daniel Ribeiro Maciel wrote:
> > I'm trying to build it on windows.
>
> You will need DMC++. It can be built with the free download version of
> DMC++, but if you
Hello!
I'm trying to use __traits in the following manner:
import std.stdio;
import std.traits;
class Foo
{
void bla() { }
void foo() { }
}
int main()
{
immutable string members[] = [ "bla", "foo" ];
writeln( typeid(typeof(__traits(getVirtualFunctions, Foo, members[0]) )) );
}
I just wanted coff2omf.
I did not try to build dmd usind dmc yet. I was just wondering whether it could
be built using mingw.
Denis Koroskin Wrote:
> On Fri, 04 Dec 2009 21:08:39 +0300, Daniel Ribeiro Maciel
> wrote:
>
> > Well, I tried to download it fro
libraries?
Best Regards,
Daniel
Denis Koroskin Wrote:
> On Fri, 04 Dec 2009 20:43:01 +0300, Daniel Ribeiro Maciel
> wrote:
>
> > Thank you for answering so fast.
> > I'll try that. One more thing: I noticed I need to convert VS libraries
> > from COFF format to OM
Best regards,
Daniel
Denis Koroskin Wrote:
> On Fri, 04 Dec 2009 20:34:10 +0300, Daniel Ribeiro Maciel
> wrote:
>
> > Hello!
> >
> > How do I build DMD from sources? Do I have to buy and use Digital Mars
> > C++ compiler only?
> >
> > Best Regards,
I'm trying to build it on windows.
Alexander Suhoverhov Wrote:
> Daniel Ribeiro Maciel writes:
> > Hello!
> >
> > How do I build DMD from sources? Do I have to buy and use
> > Digital Mars C++ compiler only?
> >
> > Best Regards,
> > Danie
Hello!
How do I build DMD from sources? Do I have to buy and use Digital Mars C++
compiler only?
Best Regards,
Daniel
18 matches
Mail list logo