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 [details]
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.