On Sat, 18 May 2013 16:59:53 +0200, Sean Kelly s...@invisibleduck.org
wrote:
This is expected because the global is __gshared and there's therefore
no type protection from doing this. If you want safe sharing, make the
global shared.
[snip]
__gshared int[] gArr = [1,2,3];
int[] arr =
On Sun, 05 Aug 2012 16:53:24 +0200, constantine kostas...@yahoo.gr wrote:
I try to use DSMFL to learn about game programming and I got this error.
D:\Programming\DSFML\samples\dsfmldsss build
pong\pong.d = bin/pong
../../import\dsfml\system\alloc.d(9): module stdlib cannot read file
On Fri, 15 Jul 2011 12:32:05 +0200, BizarreCake bizarrec...@gmail.com
wrote:
While coding, I've stumbled upon this weird bug.
Apparently, this code snippet right here:
module program;
import std.stdio;
class Foo {
void bar() {
On Tue, 05 Apr 2011 20:10:19 +0200, Morlan h...@valentimex.com wrote:
The following section from the Language Reference does not correspond to
the current dmd compiler (v2.052, Windows) behaviour:
Integer values cannot be implicitly converted to another type that cannot
represent the integer
On Tue, 05 Apr 2011 20:04:43 +0200, Morlan h...@valentimex.com wrote:
After clicking on Template in the left menu of Language Reference on
http://d-programming-language.org/ page, the menu collapses to start
menu,
while for other items it remains visible.
Please use bugzilla to file
Kai Meyer k...@fiber.net wrote:
I can import std.datetime, but when I try to use Ticks, or build the
unittest,
I get undefined reference issues with the Posix time libraries.
Fedora 14, dmd-2.051-0.i386.rpm
[kai@worky ~]$ dmd -unittest /usr/include/d/dmd/phobos/std/datetime.d
datetime.o: In
Stewart Gordon smjg_1...@yahoo.com wrote:
On 24/12/2010 06:13, torhu wrote:
This newsgroup is just for automated use by Bugzilla.
snip
Where is the official statement of this?
Likely there is no hard official statement. However,
http://www.digitalmars.com/NewsGroup.html states that it is
Walter Bright newshou...@digitalmars.com wrote:
Simen kjaeraas wrote:
Stewart Gordon smjg_1...@yahoo.com wrote:
On 24/12/2010 06:13, torhu wrote:
This newsgroup is just for automated use by Bugzilla.
snip
Where is the official statement of this?
Likely there is no hard official
Sean Eskapp eatingstap...@gmail.com wrote:
This is either a compiler bug, or outdated language documentation, but
I'm
having some freedom with @safe functions:
* No casting from a pointer type to any type other than void*.
* No modification of pointer values.
* No taking the
Chuck Blake c...@mit.edu wrote:
Hi. I realize that 64-bit phobos is relatively work in progress. I
thought
I'd contribute. struct_stat64 is broken on Linux x86_64 which further
breaks
an awful lot of file IO. I have a small patch that fixes it. I tested
this
with gdc 2.051 within
Mandeep Singh Brar mand...@brars.co.in wrote:
The following code does not compile.
import std.stdio;
interface A {
public void a(int l);
}
class ACl:A {
public void a(int l) {
writeln(Hello a);
}
}
interface B: A {
public void a(string l, int
0ffh fr...@youknow.what.todo.internetz wrote:
So, my question is: Huh?
The answer to this should for symmetry be: Duh!
However, it is not quite that simple.
void remove(T)(out T[] array,T element) {
This is the line that gives you problems. You are expecting 'out' to
work like 'ref',
sins666 d-bugm...@puremagic.com wrote:
import std.math;
import std.stdio;
void main()
{
writeln(pow(5, 2)); // 25
writeln(pow(5, 0)); // 1
writeln(pow(5, -3)); // object.Error: Integer Divide by Zero
}
And dmd version is 2.047.
Was I mistake in my source.or bug?
The mistake is
sins666 d-bugm...@puremagic.com wrote:
I found a Bug.The bug lives in function of pow in std.math.
When wake up the bug that, we select value of minus to second
argument of pow.
And happen the object.Error: Integer Divide by Zero error.
I think that is a Bug. Is it?
I would recommend
Don wrote:
I don't think that will ever get fixed (unless you make a patch
yourself). Phobos BigInt was created by Janice, and she seems to have
completely disappeared. I'm working on Tango BigInt, which is completely
independent, and will replace Phobos BigInt eventually. ( == as soon as
15 matches
Mail list logo