[Issue 11854] New: Git-head does not build with Visual Studio

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 31 08:18:57 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11854

           Summary: Git-head does not build with Visual Studio
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrej.mitrovich at gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-12-31 08:18:55 PST ---
> 1>mars.c(97): fatal error C1189: #error :  "fix this"

Specifically:

-----
#if TARGET_WINDOS
    obj_ext  = "obj";
#elif TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_OPENBSD ||
TARGET_SOLARIS
    obj_ext  = "o";
#else
#error "fix this"
#endif
-----

IIRC I saw a recent pull pushing the TARGET_WINDOS define somewhere into a
makefile, so the visual studio project file should likely add this define too.

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


More information about the Digitalmars-d-bugs mailing list