On Mon, 10 May 2010, Robert Clipsham wrote:
> On 10/05/10 19:48, Piotrek wrote:
> > (gdb) info locals
> > i = 1
> > s = 578159222890430469
> > f = 9.55146781e-38
> > (gdb) show language
> > The current source language is "auto; currently d".
>
> You are not using a version of gdb with D support i
Yeah it still works for compatibility reasons but is deprecated.
On Mon, 10 May 2010 17:58:37 -0400, Ali Çehreli wrote:
Steven Schveighoffer wrote:
I just made a startling discovery: the old operator overload routines
still work in 2.045
Is this intended?
I don't know, but I am happy that they still work. I haven't gotten
around to changing my code t
Steven Schveighoffer wrote:
I just made a startling discovery: the old operator overload routines
still work in 2.045
Is this intended?
I don't know, but I am happy that they still work. I haven't gotten
around to changing my code to use the new syntax yet. :)
I hope the old syntax remains
I just made a startling discovery: the old operator overload routines
still work in 2.045
Is this intended?
struct S
{
int x;
S opAddAssign(ref const S other)
{
x += other.x;
return this;
}
}
void foo(S s)
{
s += s;
}
generates no error.
And in fact, nei
Hi
Is the documentation for rebuild? I'm going to use it but it compiles
tango for every project.
Where should I tell him to use tango.lib from dmd folder and exclude some
folders from dependency search?
I've changed etc/rebuild/default contents to
profile=dmd-win-tango
but it doesn't
W dniu 10.05.2010 21:02, Robert Clipsham pisze:
You are not using a version of gdb with D support if s is not displayed
as a string. This said, I've only ever looked at variables using print
or a backtrace, could you try 'p s' and see what result it gives?
(gdb) p s
$1 = 578159222890430469
No
On 10/05/10 19:48, Piotrek wrote:
(gdb) info locals
i = 1
s = 578159222890430469
f = 9.55146781e-38
(gdb) show language
The current source language is "auto; currently d".
You are not using a version of gdb with D support if s is not displayed
as a string. This said, I've only ever looked at v
W dniu 10.05.2010 20:48, Piotrek pisze:
Hi,
I tried to debug program in gdb (with d support) but with no big success.
I'm on kubuntu 10.04
I compiled gdb from trunk. 7.1.50.20100504
I use the -gc switch with dmd of course.
The dmd version is 2.045.
Hi,
I tried to debug program in gdb (with d support) but with no big success.
I'm on kubuntu 10.04
I compiled gdb from trunk. 7.1.50.20100504
I use the -gc switch with dmd of course.
With this example (brakeboint at line 8)
1. import std.stdio;
2.
3.
4. void main()
5. {
6. int i = 1;
7.
10 matches
Mail list logo