On Sun, 11 Aug 2013 22:11:26 +0200
Jacob Carlborg d...@me.com wrote:
On 2013-08-11 03:57, Nick Sabalausky wrote:
I'm familiar with building DMD/Phobos on linux32/64 (and I assume
freebsd is much the same, aside from having to install GNU make),
but I know OSX is different in that the
On 2013-08-12 09:33, Nick Sabalausky wrote:
Thanks, I was indeed able to compile DMD/phobos on the system (after a
lng and surprisingly non-trivial download and install process for
xcode/gcc).
Oh, really? I guess I forgot to mention that you need to install the
command line tools as
On 2013-08-12 09:12, idid1 wrote:
I am using windows + cygwin, but found that ld can not recognize the obj
files.
Is there any switches or options to make the dmd compiler generate *.o
files?
No, I think you need to use GDC in that case.
--
/Jacob Carlborg
On Sunday, 11 August 2013 at 18:29:15 UTC, JS wrote:
On Sunday, 11 August 2013 at 18:18:22 UTC, Dicebot wrote:
On Sunday, 11 August 2013 at 17:03:04 UTC, JS wrote:
This is essentially what I'm doing BUT I am trying to avoid
having to repeat the exact same crap in every class because
it is
On 2013-08-11 21:08, Simen Kjaeraas wrote:
If you're looking for a no-overhead solution, then this might not be
good enough. I'm surprised that a virtual function call is fine,
though.
How about this:
interface I
{
size_t size (this T) ()
{
return __traits(classInstanceSize,
On Monday, 12 August 2013 at 11:34:25 UTC, Jacob Carlborg wrote:
On 2013-08-11 21:08, Simen Kjaeraas wrote:
If you're looking for a no-overhead solution, then this might
not be
good enough. I'm surprised that a virtual function call is
fine,
though.
How about this:
interface I
{
On Mon, 12 Aug 2013 10:33:24 +0200
Jacob Carlborg d...@me.com wrote:
On 2013-08-12 09:33, Nick Sabalausky wrote:
Thanks, I was indeed able to compile DMD/phobos on the system
(after a lng and surprisingly non-trivial download and install
process for xcode/gcc).
Oh, really? I guess
On Mon, 12 Aug 2013 12:11:13 -0400
Nick Sabalausky seewebsitetocontac...@semitwist.com wrote:
I see. In that case, the tools's posix.mak needs to be fixed,
ideally by generating the executables into a subdirectory instead of
tools's root. I'll put together a pull req.
On 2013-08-12 18:11, Nick Sabalausky wrote:
Actually, what really took the most time by far was just downloading
xcode - that sucker's like 1 or 2 gigs!
You can actually just download and install the command line tools. But
I'm not sure if the DMD makefile is setup to handle that. I have
On 2013-08-12 17:49, JS wrote:
Sorry but this doesn't work. b is a B, not an A.
try
I a = new A;
I b = new B;
Right, forgot about the interface.
--
/Jacob Carlborg
On Monday, 12 August 2013 at 19:44:56 UTC, Jacob Carlborg wrote:
On 2013-08-12 17:49, JS wrote:
Sorry but this doesn't work. b is a B, not an A.
try
I a = new A;
I b = new B;
Right, forgot about the interface.
NP, happens to all of us. Simen's method of casting to object
seems to be
11 matches
Mail list logo