Thread overview
[Issue 3040] New: /usr/include/d/std/math.d(1174): number is not representable
Jun 01, 2009
Don
Jun 08, 2009
Andrew Belitsky
Jun 08, 2009
Brad Roberts
Jun 08, 2009
Andrew Belitsky
Sep 08, 2009
Don
May 31, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3040

           Summary: /usr/include/d/std/math.d(1174): number is not
                    representable
           Product: D
           Version: 1.045
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: belitsky.a@gmail.com


Can't compile any program that imports std.math from phobos. For example:

/*main.d*/
import std.math;

int main(char[][] args) {
        return 0;
}

$ dmd -I/usr/include/d main.d
/usr/include/d/std/math.d(1174): number is not representable

I'm not sure but probably this caused by glibc 2.10.1.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 01, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3040


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug@yahoo.com.au




--- Comment #1 from Don <clugdbug@yahoo.com.au>  2009-05-31 22:54:25 PDT ---
I'm not sure if this is a Phobos bug or a compiler bug -- but if it's a Phobos bug, the compiler should be complaining about it on ALL platforms. Regardless, I've fixed it in Phobos SVN.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 08, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3040





--- Comment #2 from Andrew Belitsky <belitsky.a@gmail.com>  2009-06-08 04:32:05 PDT ---
Is there public access to your svn repo? If yes please give me it's url. I cannot find any info about it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 08, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3040


Brad Roberts <braddr@puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |braddr@puremagic.com




--- Comment #3 from Brad Roberts <braddr@puremagic.com>  2009-06-08 09:06:56 PDT ---
Phobos is hosted on dsource in a project by the same name.:

    http://www.dsource.org/projects/phobos

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 08, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3040





--- Comment #4 from Andrew Belitsky <belitsky.a@gmail.com>  2009-06-08 10:06:26 PDT ---
I've downloaded file root/branches/phobos-1.x/phobos/std/math.d and replaced std/math.d in my installation. Now programs compiles without this problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
September 08, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3040


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #5 from Don <clugdbug@yahoo.com.au> 2009-09-08 08:57:25 PDT ---
Fixed DMD1.046.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------