On 22.07.2011 6:54, Nick Sabalausky wrote:
I'm not getting any of the function names on the stack traces.
I tried everything I found in here:
http://www.digitalmars.com/d/archives/digitalmars/D/Windows_Stack_Traces_Function_Names_136887.html
- I installed the "Debugging Tools for Windows" to up
On 22.07.2011 3:18, bearophile wrote:
Multi-line strings are handy, but I have a small problem.
This is an example, it has a problem, there is an unwanted newline at the
beginning:
writeln("
- First item: 150
- Second item: 200
- Third item: 105");
To avoid it you can write this, but both
Dmitry Olshansky:
> writeln(
> "- First item: 150\n"
> "- Second item: 200\n"
> "- Third item: 105");
>
> Yeah, I know implicit concatenation is bad and I would agree once ~
> concatenate complie-time string for 0 overhead.
This works, but it's noisy. Multi-line strings are present in D right
"Dmitry Olshansky" wrote in message
news:j0bgt7$176q$1...@digitalmars.com...
> On 22.07.2011 6:54, Nick Sabalausky wrote:
>> I'm not getting any of the function names on the stack traces.
>>
>> I tried everything I found in here:
>> http://www.digitalmars.com/d/archives/digitalmars/D/Windows_Stac
On 22.07.2011 15:02, Nick Sabalausky wrote:
"Dmitry Olshansky" wrote in message
news:j0bgt7$176q$1...@digitalmars.com...
On 22.07.2011 6:54, Nick Sabalausky wrote:
I'm not getting any of the function names on the stack traces.
I tried everything I found in here:
http://www.digitalmars.com/d/a
I have some problems understanding the reference counting code in
std.stdio. The reduced code my questions refer to is here:
https://gist.github.com/1099229
(ignore the not-working struct default constructor, that's just to
simplify the code)
in line 5: why is 'refs' initialized to 'uint.max / 2'?
On Fri, 22 Jul 2011 02:57:38 -0400, Diego Canuhé
wrote:
thanks ;)
Don't feel bad, static is probably the most abused keyword in D and C++.
It has about 3 or 4 meanings depending on context.
-Steve
McAnany, Charles E Wrote:
> Hi, all.
> So I see that there is an Ubuntu dmd that has "x86_64" as the "CPU" column.
> Before I install Ubuntu to great disappointment, does this mean that I get a
> 64 bit executable, or does it just mean that the compiler itself is a 64 bit
> application?
> Thank
On 22/07/2011 07:20, Nick Sabalausky wrote:
Anyone have a known-working Windows OMF library for MySQL? Static or
dynamic, I don't care. I've tried fucking everything and I can't get the
dang thing to work. Static was a total no-go. With dynamic, using implib I
got it to link, but calling any of i
"Robert Clipsham" wrote in message
news:j0ce0t$2rte$1...@digitalmars.com...
> On 22/07/2011 07:20, Nick Sabalausky wrote:
>> Anyone have a known-working Windows OMF library for MySQL? Static or
>> dynamic, I don't care. I've tried fucking everything and I can't get the
>> dang thing to work. Stat
On 22.07.2011 23:06, Nick Sabalausky wrote:
"Robert Clipsham" wrote in message
news:j0ce0t$2rte$1...@digitalmars.com...
On 22/07/2011 07:20, Nick Sabalausky wrote:
Anyone have a known-working Windows OMF library for MySQL? Static or
dynamic, I don't care. I've tried fucking everything and I ca
"Dmitry Olshansky" wrote in message
news:j0cj58$5i5$1...@digitalmars.com...
> On 22.07.2011 23:06, Nick Sabalausky wrote:
>> "Robert Clipsham" wrote in message
>> news:j0ce0t$2rte$1...@digitalmars.com...
>>> On 22/07/2011 07:20, Nick Sabalausky wrote:
Anyone have a known-working Windows OMF
> On Fri, 22 Jul 2011 02:57:38 -0400, Diego Canuhé
>
> wrote:
> > thanks ;)
>
> Don't feel bad, static is probably the most abused keyword in D and C++.
> It has about 3 or 4 meanings depending on context.
The interesting thing is that in C++, there's actually a definition for static
which cov
> McAnany, Charles E Wrote:
> > Hi, all.
> > So I see that there is an Ubuntu dmd that has "x86_64" as the "CPU"
> > column. Before I install Ubuntu to great disappointment, does this mean
> > that I get a 64 bit executable, or does it just mean that the compiler
> > itself is a 64 bit application?
Hi, all. So I'm getting the classic "concurrency noob" behavior from this code:
shared int times;
int[] iterationRange = new int[2500];
foreach (pos, ref i; parallel(iterationRange)){
times++;
}
writeln(times);
}
Prints random numbers near 1,000.
Looking at the docu
Andrej Mitrovic wrote:
This is just an observation, not a question or anything.
void main()
{
enum width = 100;
double step = 1 / width;
writeln(step); // 0
}
I've just had this bug in my code. I forgot to make either width or 1
a floating-point type. IOW, I didn't do this:
void
Nick Sabalausky wrote:
Anyone have a known-working Windows OMF library for MySQL? Static or
dynamic, I don't care. I've tried fucking everything and I can't get the
dang thing to work. Static was a total no-go. With dynamic, using implib I
got it to link, but calling any of it resulted in an Ac
I don't really think stdio is the place to see modern D ref counting. The
container class has an Array which is built to use RefCounted. I had
tried my and at explaining how to use it: http://stackoverflow.com/
questions/4632355/making-a-reference-counted-object-in-d-using-
refcountedt/4635050#46
While attempting to build the DFL libraries, I encountered the following
three errors:
[1] tabcontrol.d(18): Error: class dfl.tabcontrol.TabPage use of
dfl.control.Control.opEquals(Control ctrl) hidden by TabPage is deprecated
[2] tabcontrol.d(18): Error: class dfl.tabcontrol.TabPage use of
19 matches
Mail list logo