Try this http://gtkd.org/Downloads/GtkDGL.zip
Calling constructors/destructors/postblits for structs in array
is totally unpredictable.
dmd 2.062 - http://dpaste.1azy.net/445359ad
gdc 2.060 - http://dpaste.1azy.net/7d0bf021
ldc 2.060 - http://dpaste.1azy.net/74034586
Code:
import std.stdio;
struct A {
this(int a) { m = a;
Yes, because dmd in some cases unexpectedly inserts temporaries.
http://d.puremagic.com/issues/show_bug.cgi?id=9334
http://d.puremagic.com/issues/show_bug.cgi?id=9335
On Saturday, 18 May 2013 at 00:12:13 UTC, Timothee Cour wrote:
so in what you suggest, the exact same problem remains with
'get' being
exposed instead of 'x', so the situation didn't improve...
looks like it's impossible to achieve this?
With current implementation of alias this - no. It
I am using Derelict for my GUI project and after moving to the
newest version i am getting following errors.
These errors are occuring in debug mode only.
Here is the log from Xamarin studio:
Building: guitest (Debug)
Performing main compilation...
Current dictionary:
I have also tried to use previous versions of Derelict and
versions of my library.
On Sat, 18 May 2013 02:12:00 +0200, Timothee Cour
thelastmamm...@gmail.com wrote:
so in what you suggest, the exact same problem remains with 'get' being
exposed instead of 'x', so the situation didn't improve...
looks like it's impossible to achieve this?
Well, there is also opDot:
On 05/19/2013 06:54 AM, Enjoys Math wrote:
Doing 'rdmd Build.d' gives:
Microsoft (R) Library Manager Version 11.00.50727.1
Copyright (C) Microsoft Corporation. All rights reserved.
LINK : warning LNK4044: unrecognized option '/c'; ignored
LINK : fatal error LNK1104: cannot open file
On 05/19/2013 09:43 AM, Alexandr Druzhinin wrote:
Try this http://gtkd.org/Downloads/GtkDGL.zip
The glu32.lib in that zip contains only the symbols needed by the
SimpleGL demo.
--
Mike Wey
On 05/19/2013 03:07 PM, Mike Wey wrote:
dmd / rdmd is calling the Microsoft linker instead of the one from
Digital Mars. Try checking if the LINKCMD is set correctly in sc.ini.
Scratch that, the build script is calling the linker directly. It should
probably use dmd for linking the the lib.
On 05/19/2013 05:34 AM, Simen Kjaeraas wrote:
Well, there is also opDot:
What is the state of opDot? According to the change log, it has been
introduced as a part of Version D 2.013 Apr 22, 2008 with the note
Added opDot, which is experimental only.
I will keep assuming that opDot does not
On Sunday, 19 May 2013 at 14:33:32 UTC, Ali Çehreli wrote:
On 05/19/2013 05:34 AM, Simen Kjaeraas wrote:
Well, there is also opDot:
What is the state of opDot? According to the change log, it has
been introduced as a part of Version D 2.013 Apr 22, 2008
with the note Added opDot, which is
On Sunday, 19 May 2013 at 13:20:18 UTC, Mike Wey wrote:
On 05/19/2013 03:07 PM, Mike Wey wrote:
dmd / rdmd is calling the Microsoft linker instead of the one
from
Digital Mars. Try checking if the LINKCMD is set correctly in
sc.ini.
Scratch that, the build script is calling the linker
On 05/19/2013 04:51 PM, Enjoys Math wrote:
I don't see how the build script is calling link.exe directly, but my
sc.ini looks like this:
[Version]
version=7.51 Build 020
[Environment]
LIB=%@P%\..\lib;\dm\lib
DFLAGS=-I%@P%\..\..\src\phobos -I%@P%\..\..\src\druntime\import
-I%@P%\..\..\src
On 05/19/2013 05:06 PM, Enjoys Math wrote:
All right, the glu errors are gone but I still have
OPTLINK (R) for Win32 Release 8.00.12
Copyright (C) Digital Mars 1989-2010 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
Debug\ConsoleApp2.obj(ConsoleApp2)
Error 42: Symbol
On 05/19/2013 06:10 PM, Alexandr Druzhinin wrote:
19.05.2013 20:11, Mike Wey пишет:
On 05/19/2013 09:43 AM, Alexandr Druzhinin wrote:
Try this http://gtkd.org/Downloads/GtkDGL.zip
The glu32.lib in that zip contains only the symbols needed by the
SimpleGL demo.
I built more complex
On 05/19/2013 07:08 PM, Enjoys Math wrote:
I've built GtkD from the latest on github and linked with gtkd.lib
gtkdgl.lib and still have the undefined symbols:
OPTLINK (R) for Win32 Release 8.00.12
Copyright (C) Digital Mars 1989-2010 All rights reserved.
On Sunday, 19 May 2013 at 17:16:01 UTC, Mike Wey wrote:
On 05/19/2013 07:08 PM, Enjoys Math wrote:
I've built GtkD from the latest on github and linked with
gtkd.lib
gtkdgl.lib and still have the undefined symbols:
OPTLINK (R) for Win32 Release 8.00.12
Copyright (C) Digital Mars 1989-2010
On Sunday, 19 May 2013 at 17:16:01 UTC, Mike Wey wrote:
Are you linking with opengl and glu ?
That fixed it! Thanks!
^_^
I'm trying to use Variants and ran into the following sort of
situation:
//Using DMD 2.062
import std.stdio;
import std.variant;
void main(){
int key = 1;
Variant[] one;
Variant[] ender;
one = new Variant[](1);
ender = new Variant[](1);
//This
20 matches
Mail list logo