D.gnu - [Bug 134] New: gcc/d/dfrontend/outbuffer.c needs alloca.h on
- " via D.gnu" <d.gnu puremagic.com> Jun 13 2014
Date: Sat, 14 Jun 2014 02:27:22 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" 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 gdcproject.org Reporter: jason.brian.king 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.
Jun 13 2014