[Ohrrpgce] Build failure on Windows

Ralph Versteegen teeemcee at gmail.com
Thu Nov 2 23:44:54 PDT 2017


This "Illegal parameter specification" error actually means that the
calling convention doesn't match, due to using Extern "C" (why it's
Windows-only). I'm getting really sick of this unhelpful error, so I fixed
it and make a pull request to fbc.


On 3 November 2017 at 01:25, James Paige <Bob at hamsterrepublic.com> wrote:

> bc -c slices.bas -o build\game-slices.o -mt -O 2 -target win32 -arch 686
> -s gui -d IS_GAME -m game
> slices.bas(3222) error 40: Illegal parameter specification in 'Private Sub
> DrawSliceRecurse(byval s as Slice ptr, byval page as integer, childindex as
> integer = -1)'
> scons: *** [build\game-slices.o] Error 1
>
>
>
> _______________________________________________
> 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/20171103/964d1b6f/attachment.html>


More information about the Ohrrpgce mailing list