June 14, 2014 [Bug 134] New: gcc/d/dfrontend/outbuffer.c needs alloca.h on Solarish systems | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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. |
Copyright © 1999-2021 by the D Language Foundation