[Bug 134] New: gcc/d/dfrontend/outbuffer.c needs alloca.h on Solarish systems

via D.gnu d.gnu at puremagic.com
Fri Jun 13 18:27:22 PDT 2014


http://bugzilla.gdcproject.org/show_bug.cgi?id=134

            Bug ID: 134
           Summary: gcc/d/dfrontend/outbuffer.c needs alloca.h on Solarish
                    systems
           Product: GDC
           Version: 4.8.x
          Hardware: x86_64
                OS: Solaris
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
          Assignee: ibuclaw at gdcproject.org
          Reporter: jason.brian.king at gmail.com

Created attachment 68
  --> http://bugzilla.gdcproject.org/attachment.cgi?id=68&action=edit
alloca patch

While trying to build GDC on OmniOS (an Illumos distro) as the first step in
(hopefully) getting D working on Illumos distros, the build fails compiling
gcc/d/dfrontend/outbuffer.c because alloca() is not defined.

The fix is simply to add #include <alloca.h> for such platforms.  I've attached
a potential diff.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20140614/d18a2bbc/attachment.html>


More information about the D.gnu mailing list