Am Sat, 09 Nov 2019 20:43:20 + schrieb Per Nordlöw:
> I've noticed that the make flag ENABLE_LTO=1 fails as
>
> Error: unrecognized switch '-flto=full'
>
> when building dmd with GDC 9.
>
> Does gdc-9 support lto? If so what flags should I use?
>
> If not what are the preferred
Am Tue, 30 Jul 2019 15:19:44 +1200 schrieb rikki cattermole:
> On 30/07/2019 4:11 AM, Eduard Staniloiu wrote:
>> Cheers, everybody
>>
>> I'm working on this as part of my GSoC project [0].
>>
>> I'm working on building gdc with the auto-generated `frontend.h` [1],
>> but I'm having some issues
On Thursday, 21 March 2019 at 08:19:56 UTC, Per Nordlöw wrote:
At
https://github.com/D-Programming-GDC/GDC/commits/master
there's the heading
"This repository has been archived by the owner. It is now
read-only."
Where will the development of GDC continue?
We use
Am Tue, 17 Jul 2018 04:51:04 + schrieb Cecil Ward:
> I am getting an error when I try and compile anything with the GDC
> compiler which is coming up associated with source code within a D
> include file which is not one of mine
>
> I am using a Raspberry Pi with Ubuntu 16.04 and have just
Am Sun, 14 May 2017 15:05:08 +
schrieb Richard Delorme :
> I recently bought the infamous Raspberry pi 3, which has got a
> cortex-a53 4 cores 1.2 Ghz CPU (Broadcom). After installing on it
> a 64 bit OS (a non official fedora 25), I was wondering if it was
>
Am Wed, 19 Jul 2017 19:18:03 +
schrieb Petar Kirov [ZombineDev] <petar.p.ki...@gmail.com>:
> On Wednesday, 19 July 2017 at 18:49:32 UTC, Johannes Pfau wrote:
> >
> > Can you explain why _object-level visibility_ would matter in
> > this case?
>
> (
Am Wed, 19 Jul 2017 17:37:48 +
schrieb Kagamin :
> On Wednesday, 19 July 2017 at 15:28:50 UTC, Steven Schveighoffer
> wrote:
> > I'm not so sure of that. Private functions still generate
> > symbols. I think in C, there is no symbol (at least in the
> > object file) for
Am Wed, 19 Jul 2017 17:25:18 +
schrieb Petar Kirov [ZombineDev] :
> >
> > Note: not 100% sure of all this, but this is always the way
> > I've looked at it.
>
> You're probably right about the current implementation, but I was
> talking about the intended
On Wednesday, 19 July 2017 at 15:28:50 UTC, Steven Schveighoffer
wrote:
On 7/19/17 8:16 AM, Petar Kirov [ZombineDev] wrote:
On Wednesday, 19 July 2017 at 12:11:38 UTC, John Burton wrote:
On Wednesday, 19 July 2017 at 12:05:09 UTC, Kagamin wrote:
Try a newer compiler, this was fixed recently.
Am Mon, 01 May 2017 21:01:43 +
schrieb notna :
> Hi Dlander's.
>
> Found some interesting reads ([1] [2] [3]) about the $SUBJECT and
> wonder if there is anything available in the Dland?!
>
> If yes, pls. share.
> If not, how could it be done (D'ish)
>
>
Am Sat, 15 Apr 2017 14:01:51 +
schrieb DRex :
> On Saturday, 15 April 2017 at 13:08:29 UTC, DRex wrote:
> > On Saturday, 15 April 2017 at 13:02:43 UTC, DRex wrote:
> >> On Saturday, 15 April 2017 at 12:45:47 UTC, DRex wrote:
> >
> > Update to the Update,
> >
> >
Am Fri, 14 Apr 2017 13:03:22 +
schrieb DRex :
> On Friday, 14 April 2017 at 12:01:39 UTC, DRex wrote:
> >
> > the -r option redirects the linked object files into another
> > object file, so the point being I can pass a D object and a C
> > object to the linker and
Am Fri, 14 Apr 2017 13:41:45 +
schrieb Moritz Maxeiner <mor...@ucworks.org>:
> On Friday, 14 April 2017 at 11:29:03 UTC, Johannes Pfau wrote:
> >
> > Is there some way to wrap the 'type selection'? In pseudo-code
> > something like this:
> &g
Am Fri, 14 Apr 2017 08:55:48 +
schrieb Moritz Maxeiner :
>
> mixin Foo!(API, (MethodType) {
> // function dependent code here
> });
> foo();
> ---
>
> Option 2: Code generation using CTFE
>
> ---
> string genFoo(alias API, string justDoIt)
> {
> import std.array :
I've got this code duplicated in quite some functions:
-
foreach (member; __traits(derivedMembers, API))
{
// Guards against private members
static if (__traits(compiles, __traits(getMember, API, member)))
{
static if (isSomeFunction!(__traits(getMember,
Am Sun, 12 Mar 2017 12:09:01 +
schrieb Russel Winder via Digitalmars-d-learn
:
> Hi,
>
> ldc2 has the -unittest --main options to compile a file that has
> unittests and no main so as to create a test executable. What causes
> the same behaviour with gdc?
>
Am Tue, 14 Feb 2017 14:38:32 +
schrieb Kagamin <s...@here.lot>:
> On Tuesday, 14 February 2017 at 10:52:37 UTC, Johannes Pfau wrote:
> > I remember some discussions about this some years ago and IIRC
> > the final decision was that the compiler will not magically
&g
Am Tue, 14 Feb 2017 13:01:44 +
schrieb Moritz Maxeiner :
>
> It's not supposed to. Also, your example does not implement the
> same semantics as what I posted and yes, in your example, there's
> no need for memory barriers. In the example I posted,
> synchronization
Am Mon, 13 Feb 2017 17:44:10 +
schrieb Moritz Maxeiner :
> > Thread unsafe methods shouldn't be marked shared, it doesn't
> > make sense. If you don't want to provide thread-safe interface,
> > don't mark methods as shared, so they will not be callable on a
> > shared
Am Sun, 25 Sep 2016 16:23:11 +
schrieb Matthias Klumpp :
> Hello!
> I am working together with others on the D-based
> appstream-generator[1] project, which is generating software
> metadata for "software centers" and other package-manager
> functionality on Linux
Am Tue, 30 Aug 2016 16:37:53 +
schrieb Cauterite :
> On Tuesday, 30 August 2016 at 14:38:47 UTC, Nordlöw wrote:
> > Just being able to print a string is not good enough. I want
> > the variadic part writeln so I can debug-print values in my
> > buggy code. Do you have a
Am Tue, 30 Aug 2016 10:26:28 +
schrieb Nordlöw :
> I'm struggling with debug printing in my @nogc-containers.
>
> The alternatives:
>
> assert(false, "Fixed message with no parameters");
>
> is not enough for my needs
>
> debug writeln("Fixed");
>
>
Am Fri, 22 Jul 2016 01:48:52 +
schrieb Rufus Smith :
> I would like to combine two types
>
>
> template Foo(A, B = 4)
> {
> union
> {
> byte b = B;
> int a = A << 8;
> }
> }
>
>
> I get an error about overlapping default initialization.
Am Tue, 5 Jul 2016 00:37:54 -0700
schrieb Ali Çehreli :
> On 07/04/2016 08:32 PM, WhatMeWorry wrote:
>
> > /usr/bin/ld: cannot find -lsqlite3
> > collect2: error: ld returned 1 exit status
>
> I had the same issue when building Button with dub on Ubuntu 16.04.
> My hack
Am Tue, 21 Jun 2016 03:01:39 +
schrieb Vladimir Panteleev :
>
> As I recently learned, there's also signalfd. With that, had
> Vibe.d had a primitive to wrap a file descriptor into a stream it
> can manage, it would be as simple as reading from it. But it
>
On Thursday, 11 February 2016 at 07:41:55 UTC, Enjoys Math wrote:
If I just type out sqrt(2.0) in D, is that automatically made
into a constant for me?
Thanks.
For GDC the answer is yes:
Am Sat, 30 Jan 2016 01:17:13 +
schrieb Mike Parker <aldac...@gmail.com>:
> On Friday, 29 January 2016 at 19:46:40 UTC, Johannes Pfau wrote:
>
> > Now on windows, things are more complicated. First of all, I
> > can't seem
> > to simply use "libs"
Am Fri, 29 Jan 2016 18:58:17 -0500
schrieb Steven Schveighoffer :
> On 1/29/16 6:03 PM, Marek Janukowicz wrote:
> > On Fri, 29 Jan 2016 17:43:26 -0500, Steven Schveighoffer wrote:
> >>> Is there anything I should know about UTF endianess?
> >>
> >> It's not any different
I want to add proper windows support to the cairoD dub package. cairoD
is a wrapper for the [cairo](http://cairographics.org/) C library. As
it can be difficult to obtain cairo DLLs on windows I want to ship
these DLLs with cairoD. It is also possible to enable or disable
additional cairo
Am Fri, 29 Jan 2016 20:46:40 +0100
schrieb Johannes Pfau <nos...@example.com>:
> DFLAGS="-m32mscoff" doesn't work with dub test as the dub test
> command ignores the DFLAGS variable. I'd have to check whether it
> works for applications, but then there's still no w
Am Sat, 16 Jan 2016 18:05:46 +
schrieb Samson Smith :
> On Saturday, 16 January 2016 at 16:28:21 UTC, Jonathan M Davis
> wrote:
> >
> > But it will be less error-prone to use those functions, and if
> > you _do_ actually need to swap endianness, then they're exactly
> > what
Am Sat, 16 Jan 2016 15:46:00 +
schrieb Samson Smith :
> On Saturday, 16 January 2016 at 14:42:27 UTC, Yazan D wrote:
> > On Sat, 16 Jan 2016 14:34:54 +, Samson Smith wrote:
> >
> >> [...]
> >
> > You can do this:
> > ubyte[] b = (cast(ubyte*) )[0 .. int.sizeof];
> >
> >
Am Mon, 21 Dec 2015 23:29:14 +
schrieb Adam D. Ruppe :
> On Monday, 21 December 2015 at 23:17:45 UTC, Daniel Kozák wrote:
> > If you want to reinvent the wheel you can use
>
> [...] it isn't like the bundled functions with the OS are
> hard to use [...]
>
Am Thu, 01 Oct 2015 12:04:38 +
schrieb NX :
> Windows X86 64bit (x86_64-w64-mingw32)
>
> Standard builds
> TargetDMDFE Runtime
> GCC GDC revisionBuild Date arm-linux-gnueabi
> 2.066.1 yes 5.2.0 dadb5a3784
Am Tue, 29 Sep 2015 15:10:58 -0400
schrieb Steven Schveighoffer :
>
> > 3) Why do I have to pass a "Mutex" to "Condition"? Why can't I just
> > pass an "Object"?
>
> An object that implements the Monitor interface may not actually be a
> mutex. For example, a
Am Tue, 22 Sep 2015 14:40:43 +
schrieb John Colvin <john.loughran.col...@gmail.com>:
> On Tuesday, 22 September 2015 at 14:37:11 UTC, Russel Winder
> wrote:
> > On Sun, 2015-09-20 at 17:47 +0200, Johannes Pfau via
> > Digitalmars-d -learn wrote:
> >> [...]
Am Sat, 19 Sep 2015 17:41:41 +0100
schrieb Russel Winder via Digitalmars-d-learn
:
> On Sat, 2015-09-19 at 16:33 +, John Colvin via Digitalmars-d-learn
> wrote:
> > On Saturday, 19 September 2015 at 16:15:45 UTC, Russel Winder
> > wrote:
> > > Sadly the:
>
Am Sun, 20 Sep 2015 17:47:00 +0200
schrieb Johannes Pfau <nos...@example.com>:
> Am Sat, 19 Sep 2015 17:41:41 +0100
> schrieb Russel Winder via Digitalmars-d-learn
> <digitalmars-d-learn@puremagic.com>:
>
> > On Sat, 2015-09-19 at 16:33 +, John Colvin via
Am Tue, 15 Sep 2015 12:19:34 +
schrieb Atila Neves :
> gdmd supports those options but gdc doesn't. Is that likely to
> always be the case?
>
> Atila
gdmd is just a wrapper around gdc. If something is supported by gdmd it
must also be supported by gdc (the exact
Am Fri, 11 Sep 2015 05:36:27 -0700
schrieb Jonathan M Davis via Digitalmars-d-learn
:
> Now, as to why the gdc binary is so large, I don't know. My guess is
> that it has something to do with the debug symbols. You could try
> building with -g or -gc to see how
Am Sun, 26 Jul 2015 13:11:51 +
schrieb Dicebot pub...@dicebot.lv:
I remember doing something like that in druntime because of
objects - you can't override @safe method prototype with @trusted
one.
That's probably related to the fact that safe and trusted functions
have different
Am Sun, 19 Jul 2015 12:08:16 +
schrieb Adam D. Ruppe destructiona...@gmail.com:
This line is illegal:
return toHexString!(Order.decreasing)(crc.finish());
The std.digest.toHexString and variants return a *static array*
which is static data and has a scope lifetime.
It is
Am Sat, 04 Jul 2015 11:15:57 +
schrieb Guy Gervais ggerv...@videotron.ca:
On Saturday, 4 July 2015 at 08:34:00 UTC, Johannes Pfau wrote:
It's kinda fascinating that GDC/MinGW seems to work for some
real world applications.
I haven't really tried a real world application as of yet
Am Sat, 04 Jul 2015 06:30:31 +
schrieb Marko Grdinic mra...@gmail.com:
On Friday, 3 July 2015 at 23:45:15 UTC, Guy Gervais wrote:
On Friday, 3 July 2015 at 19:17:28 UTC, Marko Grdinic wrote:
Any advice regarding how I can get this to work? Thanks.
I got GDC to work with VS2013 +
Am Sun, 26 Apr 2015 00:14:42 +
schrieb Mike n...@none.com:
Usage:
auto b = PORTB.load();
PORTB.toggle!PIN0;
PORTB.PIN0 = Level.low;
writeln(PORTB.PIN0);
PORTB.TEST = 0b000;
That's some nice code! and really leveraging D to great effect.
I know that
Am Sat, 25 Apr 2015 11:38:45 +
schrieb Martin Nowak c...@dawg.eu:
On Saturday, 25 April 2015 at 05:07:04 UTC, Jens Bauer wrote:
I hope to find a good way to use import for microcontroller
libraries, so it'll be easy for everyone. I'm thinking about
something like ...
import
Am Sat, 25 Apr 2015 18:31:45 +
schrieb Jens Bauer doc...@who.no:
On Saturday, 25 April 2015 at 17:58:59 UTC, Timo Sintonen wrote:
On Saturday, 25 April 2015 at 17:04:18 UTC, Jens Bauer wrote:
I think volatileLoad and volatileStore are intended for this
(please correct me if my
Am Fri, 24 Apr 2015 18:02:57 +
schrieb AndyC a...@squeakycode.net:
On Friday, 24 April 2015 at 17:56:59 UTC, tcak wrote:
On Friday, 24 April 2015 at 17:50:03 UTC, AndyC wrote:
Hi All, I cannot seem to understand whats wrong with this:
// main.d
import std.stdio;
import
Am Sun, 12 Apr 2015 17:27:31 +
schrieb Jens Bauer doc...@who.no:
On Saturday, 11 April 2015 at 22:45:39 UTC, Laeeth Isharc wrote:
Yes - nice to know it can do that also. For me I need to have
a way of managing large amounts of email (I have about 2mm
messages) including for
Am Tue, 07 Apr 2015 20:38:52 +
schrieb Jens Bauer doc...@who.no:
On Tuesday, 7 April 2015 at 20:33:26 UTC, Jens Bauer wrote:
Question number 1: How can a C subroutine be made optional, so
it's called only if it linked ?
Question 1 might be answered by the following thread:
Am Sat, 04 Apr 2015 10:38:44 +
schrieb Jens Bauer doc...@who.no:
On Saturday, 4 April 2015 at 02:57:22 UTC, Rikki Cattermole wrote:
On 4/04/2015 3:08 a.m., Jens Bauer wrote:
src/start.d:7:10: error: module attribute is in file
'gcc/attribute.d' which cannot be read
import
Am Tue, 17 Mar 2015 12:13:44 +
schrieb Andrew Brown aabrow...@hotmail.com:
Thank you very much for your replies, I now have 2 solutions to
my problem! Both compiling on a virtual machine running debian
wheezy, and using gcc to do the linking produced executables that
would run on the
Am Mon, 16 Mar 2015 16:44:45 +
schrieb Andrew Brown aabrow...@hotmail.com:
Hi,
I'm trying to compile code which calls C and fortan routines from
D on the linux cluster at work. I've managed to get it to work
with all 3 compilers on my laptop, but LDC and GDC fail on the
cluster
Am Tue, 04 Feb 2014 16:19:08 +
schrieb Stanislav Blinov stanislav.bli...@gmail.com:
On Tuesday, 4 February 2014 at 16:02:33 UTC, Craig Dillabaugh
wrote:
This computer is on a network with dynamically assigned IP
address (DHCP).
So shouldn't the 10.1.101.52 address have been
Am Fri, 24 Jan 2014 22:30:13 +
schrieb Kagamin s...@here.lot:
http://igoro.com/archive/volatile-keyword-in-c-memory-model-explained/
As I understand, because Itanium doesn't have cache coherency, a
memory fence is needed to implement volatile load and store. On
x86 load and store are
Is it possible to generate a enum from a tuple of types without string
mixins?
struct S(Types...)
{
enum Tag
{
//?
}
}
where the tag enum should have Types.length members. The exact names of
the enum members don't matter and could be numbered, for
Am Sat, 25 Jan 2014 18:55:54 +0100
schrieb Artur Skawina art.08...@gmail.com:
Well, if you don't need names then just use the index directly.
Eg, see 'DiscUnion.type' in
Am Sat, 25 Jan 2014 21:41:20 +
schrieb Kagamin s...@here.lot:
On Saturday, 25 January 2014 at 10:00:58 UTC, Johannes Pfau wrote:
(For example it isn't valid in D to access a shared variable
with
normal operations anyway, AFAIK. You need to use the atomicOp
things
Am Sat, 25 Jan 2014 21:48:39 +
schrieb Kagamin s...@here.lot:
Also if you read a shared value with atomicLoad every time, this
disallows caching in registers or on stack, which is also
performance hit. The shared value should be read once and cached
if possible.
Yes, I came to the
Am Mon, 23 Dec 2013 06:20:51 +
schrieb Mineko umineko...@gmail.com:
This one's kinda short..
Is it possible to change the variable that gdc finds cc1d?
Something like gdc -gcc=/whatever/gcc_backend?
The -B option should do what you want.
Am Fri, 01 Nov 2013 08:50:19 -0700
schrieb Ali Çehreli acehr...@yahoo.com:
On 11/01/2013 08:32 AM, Dmitry Olshansky wrote:
In short we have 2 ways:
1) Ranges
2) opApply
As another shameless plug, those foreach methods are included in this
chapter:
Am Thu, 05 Sep 2013 04:49:04 +0200
schrieb Ellery Newcomer ellery-newco...@utulsa.edu:
Since I've been out of the loop for a while, can gdc build shared
libraries yet? That's what OP's build command is trying to do.
Unfortunately no. Although the relocation error looks like a
regression we
Am Wed, 24 Jul 2013 02:13:50 +0200
schrieb Andrej Mitrovic andrej.mitrov...@gmail.com:
On 7/23/13, Johannes Pfau nos...@example.com wrote:
Does anyone know why this code is not working?
http://dpaste.dzfl.pl/b89e7b3f
Add 'static' to getAttribute and it will work. I know, it's weird
Am Mon, 22 Jul 2013 19:28:10 +0200
schrieb Marco Leise marco.le...@gmx.de:
Am Fri, 19 Jul 2013 21:43:38 +0200
schrieb Johannes Pfau nos...@example.com:
Am Fri, 19 Jul 2013 12:38:45 +0200
schrieb Marco Leise marco.le...@gmx.de:
Would be nice to know if this is working with gdc or ldc
Does anyone know why this code is not working?
http://dpaste.dzfl.pl/b89e7b3f
It seems calling enum a = __traits(getAttributes, Class.member); is OK
without an instance. But if I wrap the __traits call into another
template with alias parameter like this:
---
auto getAttribute(alias
Am Fri, 19 Jul 2013 12:38:45 +0200
schrieb Marco Leise marco.le...@gmx.de:
It turns out that what Walter explained is the
key here, too. All my libraries are compiled without frame
pointers, so the simple stack unwinding that D uses fails
there. I recompiled glib and gtk+ with
Am Thu, 11 Jul 2013 15:29:09 +0200
schrieb Ali goren@yandex.com:
/usr/include/d2/4.6
This looks like you're using a very old gdc version. std.net.curl was
added in 2.058.
Am Sat, 29 Jun 2013 17:38:38 +0200
schrieb monarch_dodra monarchdo...@gmail.com:
On Saturday, 29 June 2013 at 08:01:17 UTC, Johannes Pfau wrote:
Shouldn't doing anything value-related on
an empty struct be invalid anyway?
Why ?
The fact that the struct has no members
Am Fri, 28 Jun 2013 22:16:33 +0200
schrieb Andrej Mitrovic andrej.mitrov...@gmail.com:
On 6/28/13, Johannes Pfau nos...@example.com wrote:
A naive question: Why isn't struct S {} enough? This should be a
struct with size 0 so why do we need to disable the constructor and
postblit
Am Sat, 29 Jun 2013 10:54:32 +0200
schrieb Maxim Fomin ma...@maxim-fomin.ru:
On Saturday, 29 June 2013 at 08:01:17 UTC, Johannes Pfau wrote:
Am Fri, 28 Jun 2013 22:16:33 +0200
schrieb Andrej Mitrovic andrej.mitrov...@gmail.com:
On 6/28/13, Johannes Pfau nos...@example.com wrote
Am Fri, 28 Jun 2013 03:40:31 +0200
schrieb Andrej Mitrovic andrej.mitrov...@gmail.com:
struct S
{
@disable(S is an opaque C type and must only be used as a
pointer) this();
@disable(S is an opaque C type and must only be used as a
pointer) this(this);
}
A naive question: Why
Am Wed, 05 Jun 2013 14:31:58 +0200
schrieb Joseph Rushton Wakeling joseph.wakel...@webdrake.net:
Hi all,
I'd like to design a unittest that will fail -- that is, it will
trigger an assert() or enforce() failure inside the function it is
testing.
How would I go about doing this so that
I'm currently porting the last missing inline asm in std.math to gdc
syntax. There's one unittest which I just couldn't get working: It
checks for underflow/overflow flags after calling the exp function.
In gdc we currently forward std.math.exp to core.stdc.math.expl and it
turns out that the
Am Wed, 22 May 2013 21:27:00 -0700
schrieb Ellery Newcomer ellery-newco...@utulsa.edu:
In the context of shared libraries, with gcc
__attribute__((constructor))
void myfunc() { .. }
is used to make myfunc be called upon loading of the shared library
(you can tell I know what I am talking
Am Sun, 05 May 2013 11:52:52 +0200
schrieb Namespace rswhi...@googlemail.com:
Here a test example:
http://dpaste.1azy.net/2cfc8ead
The memory is allocated through the SDL as you can see.
Sorry for this late reply, I actually hoped someone else would coma up
with a solution. I don't have
Am Sun, 05 May 2013 09:28:05 +0200
schrieb Diggory digg...@googlemail.com:
On Sunday, 5 May 2013 at 07:23:25 UTC, Namespace wrote:
On Sunday, 5 May 2013 at 06:43:17 UTC, Diggory wrote:
On Sunday, 5 May 2013 at 06:35:38 UTC, Namespace wrote:
Quick question: I have a SDL_Surface in one of my
Am Mon, 01 Apr 2013 13:26:53 -0700
schrieb Ali Çehreli acehr...@yahoo.com:
On 04/01/2013 01:06 PM, DLearner wrote: On Monday, 1 April 2013 at
19:01:07 UTC
I tried your example, getting four error messages first of which
was 'undefined identifier write, did you mean function fwrite?'.
Am Mon, 25 Mar 2013 19:43:11 +0100
schrieb J notav...@notavailable.com:
Where or to whom should I report a bug in the thrift D bindings?
In recent ubuntu, the maintainers inexplicably changed the linker
(ld) defaults to --as-needed, which breaks the 'make check' for
Thrifts D binding,
Am Sun, 03 Mar 2013 09:58:41 +0100
schrieb Ivan Kazmenko ga...@mail.ru:
Can anyone advise on the theoretical basis for the
unpredictableSeed method in std.random? I've tried googling
around for the theory of good thread-safe seed generation
methods but haven't really found anything.
When trying to implement non-POD types for gdc some time ago I asked on
the dmd mailing list what the backend is actually supposed to do for
non-POD types. Walter answered that they should never be passed in
registers:
--
Wouldn't it be legal to still pass non-PODs in
Am Fri, 01 Mar 2013 15:09:11 +0100
schrieb monarch_dodra monarchdo...@gmail.com:
On Friday, 1 March 2013 at 13:59:08 UTC, Johannes Pfau wrote:
When trying to implement non-POD types for gdc some time ago I
asked on
the dmd mailing list what the backend is actually supposed to
do
Am Thu, 28 Feb 2013 14:33:15 -0800 (PST)
schrieb Brad Roberts bra...@puremagic.com:
On Thu, 28 Feb 2013, Simen Kj?r?s wrote:
On Thu, 28 Feb 2013 16:22:49 +0100, D-ratiseur
thisadressdoesntex...@nowhere.fr wrote:
Hello, Is it possible for an ASM function to be inlined in D?
Nope.
Am Tue, 19 Feb 2013 16:43:09 -0800
schrieb Charles Hixson charleshi...@earthlink.net:
I have, towards the start of my file:
/** Macros:
* Note = $(BR)$(BIG$(B$(GREEN Note:)))
* Todo = brfont color=redbToDo:/b $0/fontbr
* Em = $(B$(BLUE $0))
* DoNotUse = $(B Do Not Use $0)
*/
On Thursday, 31 January 2013 at 20:42:47 UTC, Marco Leise wrote:
Maybe Deimos (the GitHub presence) could use a dry piece of
text that explains how to convert a header. I have just had
the need for xcb for example, but no idea how a good header
translation is supposed to look like, if all files
Am Thu, 31 Jan 2013 12:38:41 +0100
schrieb SaltySugar butkustomas...@gmail.com:
I want to do a GUI like this:
http://www.part.lt/img/f44e209eb2ccbc9dda2e6b11fa5c6317747.jpg
But I've got the following result:
http://www.part.lt/img/f4a238595048be7c23655b02477aabd8447.jpg
Thanks.
I'd
Am Fri, 18 Jan 2013 01:07:05 + (UTC)
schrieb Justin Whear jus...@economicmodeling.com:
You can use extern(D) or simply extern; this is described here:
http://dlang.org/attribute.html#linkage
Justin
BTW: I wonder how export should be used? It seems like it
currently does nothing
Am Fri, 18 Jan 2013 18:47:41 +0100
schrieb nazriel s...@dzfl.pl:
lib.d:
void foo() {
printf(%s.ptr, hi.ptr);
}
test.d:
extern(C) void _D3lib3fooFZv();
I think this is dangerous, there's no guarantee that extern(D) equals
extern(C).
How to handle name
mangling?
Maybe
Am Fri, 18 Jan 2013 19:17:33 +0100
schrieb nazriel s...@dzfl.pl:
[...]
Nice!
This should be mentioned at Language Reference, so it won't get
lost.
Isn't this documented? I thought it was well known that you can mark D
functions as extern(C). It's needed when implementing callback
Am Mon, 07 Jan 2013 03:31:51 +0100
schrieb MrOrdinaire mrordina...@gmail.com:
I agree with you.
One quick question, why do you need a pair of parentheses in
these declarations, ref (ubyte*)[4] and (ubyte*)[4]? The compiler
doesn't complain if I remove it.
I wasn't sure if it's
Am Sun, 06 Jan 2013 12:51:33 +0100
schrieb bearophile bearophileh...@lycos.com:
MrOrdinaire:
I cannot find cint_t nor cint in the d standard modules
(mine are at /usr/include/d/).
I don't remember the correct name.
Are you sure about c_int? I never heard of that before, I only know
Am Sun, 06 Jan 2013 10:48:25 +0100
schrieb MrOrdinaire mrordina...@gmail.com:
Hi,
I am working on D bindings for FFmpeg. I am trying to port the
official examples of FFmpeg to D so that the bindings can be
tested.
My question is how this function declaration is written in D.
int
Am Sun, 06 Jan 2013 09:43:11 -0800
schrieb Ali Çehreli acehr...@yahoo.com:
Ali
P.S. To prove the point that that 4 in the signature has no meaning,
I tested the C function also with the following C program:
With C's arrays are pointers thing, that might be true. But the
signature (and
Am Sun, 16 Dec 2012 04:02:41 +0100
schrieb Nekroze nekr...@eturnilnetwork.com:
This would be fine i guess
so long as i could get away with being able to compile without
using the llvm-config tool that gives you the library and include
paths based on command line input because i am assuming
Am Sat, 15 Dec 2012 14:56:47 +0100
schrieb Nekroze nekr...@eturnilnetwork.com:
On Saturday, 15 December 2012 at 13:42:11 UTC, r_m_r wrote:
On 12/15/2012 06:35 PM, Nekroze wrote:
So straight up, is DMD capable of cross compiling on linux
targeting
windows? I have never used the
Am Mon, 15 Oct 2012 02:14:57 +0200
schrieb Andrej Mitrovic andrej.mitrov...@gmail.com:
Sorry for posting here, but Github doesn't have messaging anymore
(boo!) and there's no contact button or email anywhere to be found. :)
Johannes, are you still working on gobject introspection? libgit has
Am Sat, 22 Sep 2012 12:30:30 +0200
schrieb Jacob Carlborg d...@me.com:
On 2012-09-22 11:24, Martin Drasar wrote:
thanks for the hint. Making it shared sounds a bit fishy to me. My
intention is to pass some read only data, that are in fact thread
local and there is no real need to make
Am Thu, 20 Sep 2012 10:11:37 +0200
schrieb Namespace rswhi...@googlemail.com:
You're right.
This is my next try: http://dpaste.dzfl.pl/02b32d33
Do you have anything else to say? :)
I think it shouldn't be possible to copy an OnStack struct. The
destructor is run for every copy, but the
Am Thu, 20 Sep 2012 12:06:28 +0200
schrieb monarch_dodra monarchdo...@gmail.com:
On Thursday, 20 September 2012 at 08:10:36 UTC, Namespace wrote:
You're right.
This is my next try: http://dpaste.dzfl.pl/02b32d33
Do you have anything else to say? :)
I think it looks good, but I'm unsure
Am Wed, 19 Sep 2012 12:34:18 -0700
schrieb Jonathan M Davis jmdavisp...@gmx.com:
On Wednesday, September 19, 2012 20:50:08 Chris Molozian wrote:
Hey all,
I'm sure that this is a rather daft question but I've tried to
search the d.learn mailing list and must have missed a question
Am Mon, 17 Sep 2012 22:35:39 +0200
schrieb Jonathan M Davis jmdavisp...@gmx.com:
On Monday, September 17, 2012 20:59:05 Johannes Pfau wrote:
addRequestHeader is quite dumb. It simply appends the header to a
list. So by just calling it again you would actually send 2
Content-Type headers
1 - 100 of 198 matches
Mail list logo