www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7843] New: Regression(2.059 beta): Informational warning fails to produce executable

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7843

           Summary: Regression(2.059 beta): Informational warning fails to
                    produce executable
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: cbkbbejeap mailinator.com



21:16:40 PDT ---
struct Foo
{
    const hash_t toHash()
    {
        return 0;
    }
}

void main()
{
}

------------------------------

test
'test' is not recognized as an internal or external command, operable program or batch file.
dmd -wi test.d
test.d(3): Warning: toHash() must be declared as extern (D) uint toHash() const pure nothrow safe, not const uint()
test
'test' is not recognized as an internal or external command, operable program or batch file.
dmd test.d
test
(ok)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 05 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7843




Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/8b665514b3a1473a59cc75b0a63299d462206e86
fix Issue 7843 - Regression(2.059 beta): Informational warning fails to produce
executable

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 06 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7843


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED


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