Thread overview
[Issue 8744] New: pragma(msg) incorrectly prints uint values >= 2^31
Oct 01, 2012
Piotr Szturmaj
Oct 01, 2012
Piotr Szturmaj
Oct 07, 2012
Brad Roberts
October 01, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8744

           Summary: pragma(msg) incorrectly prints uint values >= 2^31
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: pszturmaj@tlen.pl


--- Comment #0 from Piotr Szturmaj <pszturmaj@tlen.pl> 2012-10-01 12:45:08 PDT ---
The statement:

    pragma(msg, uint.max);

prints "-1u" where it should print "4294967295u".

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



--- Comment #1 from Piotr Szturmaj <pszturmaj@tlen.pl> 2012-10-01 12:45:28 PDT ---
https://github.com/D-Programming-Language/dmd/pull/1156

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 07, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8744



--- Comment #2 from github-bugzilla@puremagic.com 2012-10-06 17:35:30 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/5099922a842cdba59087f9f0568bded582769f7e Issue 8744 - Fixed printing of uint expression when value >= 2^31

https://github.com/D-Programming-Language/dmd/commit/02a5dca8fe5d828a1aedf66e815e7451edac4307 Merge pull request #1156 from pszturmaj/uint-fix

Issue 8744 - Fixed printing of uint expression when value >= 2^31

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 07, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8744


Brad Roberts <braddr@puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |braddr@puremagic.com
         Resolution|                            |FIXED


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