On Friday, 18 September 2015 at 17:50:05 UTC, David Eagen wrote:
On Wednesday, 16 September 2015 at 16:57:39 UTC, ddos wrote:
Looking for a RPC library, thrift looked promising, but i
can't even compile the simple example given here
https://thrift.apache.org/tutorial/d
I just ran int
On Wednesday, 16 September 2015 at 16:57:39 UTC, ddos wrote:
Looking for a RPC library, thrift looked promising, but i can't
even compile the simple example given here
https://thrift.apache.org/tutorial/d
I just ran into the same thing. I tried earlier branches of
Thrift and those don't work
On Wednesday, 12 March 2014 at 02:46:30 UTC, David Eagen wrote:
Is there a way to determine the compiler version at compile
time? Something like:
static if(DMD_VERSION >= 2.066) {
virtual int foo();
} else {
int foo();
}
Naturally I found it as soon as I posted
std.compi
Is there a way to determine the compiler version at compile time?
Something like:
static if(DMD_VERSION >= 2.066) {
virtual int foo();
} else {
int foo();
}
On Wednesday, 12 February 2014 at 07:53:44 UTC, simendsjo wrote:
Well, that seems quite unprofessional.. Not fixing bugs that
makes parts of their repository unusable..
To be fair he wasn't able to reproduce the problem. It built fine
on his box. They list automake 1.9 as the requirement so
p
On Wednesday, 12 February 2014 at 02:27:51 UTC, David Eagen wrote:
You can convert back to the serial test harness by setting this
in configure.ac:
AM_INIT_AUTOMAKE([1.11 tar-ustar serial-tests])
I should have pointed out that using the serial-tests option with
automake 1.13 results in a
On Wednesday, 25 December 2013 at 17:14:17 UTC, David Eagen wrote:
I've filed a bug:
https://issues.apache.org/jira/browse/THRIFT-2294
So the Thrift guys are not too excited about fixing this. The bug
was closed since it affected just the D library.
I think the problem stems from the
On Friday, 27 December 2013 at 10:56:55 UTC, Artur Skawina wrote:
You probably meant
read(inotfd, event, (*event).sizeof);
but in this case the inotify_event structure contains an
optional
trailing buffer, so it should be
read(inotfd, event, bufsiz);
artur
Yes, thanks for the corre
On Friday, 27 December 2013 at 03:39:58 UTC, Hugo Florentino
wrote:
BTW, it it a requirement to use malloc, and if so, when would I
need to free the memory allocated by it?
Inotify is expecting you to read into a buffer. You could
allocate that buffer from the GC with core.memory.malloc()
ins
Here is a first attempt. I'm sure there are much better ways to
do this but this should at least get you going in the right
direction.
Some of the key things to know are the undocumented (at least not
documented on the web site) modules that are available. One of
them contains the Linux inoti
On Saturday, 21 December 2013 at 19:20:44 UTC, Martin Nowak wrote:
Rebuild autoconf and automake files?
Try ./bootstrap.sh && ./configure && make.
That's what actually breaks it. I was messing around on another
box where Thrift compiled just fine and found my configure script
was not calling
On Friday, 15 November 2013 at 21:11:36 UTC, simendsjo wrote:
I thrid compiling thrift 0.9.1 from github with d support, but
there's a bug in the makefile it seems.
$(addprefix.log: $(addprefix
@p='$(addprefix'; \
b='$(addprefix'; \
$(am__check_pre) $(LOG_DRIVER) --t
On Tue, 24 Jan 2012 07:22:46 -0600, Richard Webb
wrote:
How about something like this (using Juno):
///
import juno.com.core, std.stdio;
abstract final class SystemInformation {
mixin(uuid("C01B9BA0-BEA7-41BA-B604-D0A36F469133"));
mixin Interfaces!(ISystemInformation
I'm trying to understand how to call a C++ library from D. Specifically,
the Windows Update API.
My goal is rather simple in that I want to detect whether there is a
reboot pending for the system. To do that I need to call the
ISystemInformation::RebootRequired property but I don't know how to do
14 matches
Mail list logo