www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11906] New: Compiler assertion when comparing function pointers

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

           Summary: Compiler assertion when comparing function pointers
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: cameron_shea hotmail.com


--- Comment #0 from Cameron Shea <cameron_shea hotmail.com> 2014-01-11 15:30:04
PST ---
module main;
import std.c.windows.windows;

void main()
{
    extern(Windows) HMODULE function(LPCSTR) f;
    assert(f != &GetModuleHandleA);
}

 dmd -g -debug -c main.d -ofobj\Debug\main.obj

-- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 11 2014
parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11906



--- Comment #1 from Cameron Shea <cameron_shea hotmail.com> 2014-01-11 15:33:03
PST ---
DMD32 D Compiler v2.064

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