On Wed, 03 Jun 2009 22:56:30 +0200, Mike Wey mike-...@example.com
wrote:
Recently when i try to compile something that imports std.math or
tango.math.Math i get the following error:
/home/mike/D/dmd2/phobos/std/math.d(1216): number is not representable
std/math.d line 1216:
On Wed, 13 May 2009 16:42:51 -0400, Steven Schveighoffer
schvei...@yahoo.com wrote:
it is a documentation bug, this behavior is not allowed. Please submit a
bug to bugzilla: http://d.puremagic.com/issues/
On the other hand, string *literals* are implicitly castable to char *:
char *p = abc;
On Tue, 12 May 2009 14:50:26 -0400, saotome
saotome@googlemail.com wrote:
Hi all,
i want to declare an invariant interger, for instance invariant int x = 3;.
But i've got this error while compiling.
Error: constant 3 is not an lvalue
could someone explain me what's wrong here ? I'm using
On Fri, 10 Apr 2009 05:55:57 -0400, Sam Hu samhudotsa...@gmail.com
wrote:
Hello everybody ,
I'am learning D2.028+Phobos and wrote a excise which purpose is to write a
generic method which an retrieve the console input with desired type.Say if I
want the user to input an integer to the
On Fri, 10 Apr 2009 05:24:24 -0400, Flo the_big_...@web.de wrote:
Hi,
Im kinda confused about the protection attributes on module level.
The case:
I've got 2 modules.
test1.d
module test1;
import test2;
int main(char[][] args)
{
Test2Struct s;
return 0;
}
and test2.d
module
On Tue, 27 Jan 2009 22:48:33 -0800, Charles Hixson
charleshi...@earthlink.net wrote:
Main routine:
void main()
{
try
{ BlockFile bf;
bf = new BlockFile (test.bf, 4096);
writefln (before close);
bf.close;
bf = null;
writefln (after close);
On Fri, 28 Nov 2008 13:58:28 -0500, Kagamin [EMAIL PROTECTED] wrote:
just found it accidentally
http://d.puremagic.com/issues/show_bug.cgi?id=1309
Yep, this issue prevents Path.opCmp from being called. The version
below works.
import std.string: find, cmp;
import std.stdio: writefln;
import