[Ohrrpgce] Windows build failing in surface.cpp

Ralph Versteegen teeemcee at gmail.com
Tue Jun 20 06:42:49 PDT 2017


Interestingly crosscompiling to Windows still worked for me (not that I had
tested it...) although native mingw didn't, so this was a problem specific
to mingw configuration/fork/version

On 21 June 2017 at 00:04, James Paige <Bob at hamsterrepublic.com> wrote:

> I just noticed this in the windows nightly build
>
> surface.cpp: In function 'int gfx_surfaceCopy_SW(SurfaceRect*, Surface*,
> RGBPalette*, Palette16*, int, SurfaceRect*, Surface*)':
> surface.cpp:351:65: error: 'alloca' was not declared in this scope
>     pal32 = (RGBcolor*)alloca(pPal8->numcolors * sizeof(RGBcolor));
>                                                                  ^
> scons: *** [build\surface.o] Error 1
> scons: building terminated because of errors
>
>
>
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20170621/6118c510/attachment.htm>


More information about the Ohrrpgce mailing list