<div dir="ltr">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.<br><span style="color:rgb(34,34,34);font-size:14px"><br></span></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 November 2017 at 01:25, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="color:rgb(34,34,34);font-size:14px">bc -c slices.bas -o build\game-slices.o -mt -O 2 -target win32 -arch 686 -s gui -d IS_GAME -m game</span><br style="color:rgb(34,34,34);font-size:14px"><span style="color:rgb(34,34,34);font-size:14px">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)'</span><br style="color:rgb(34,34,34);font-size:14px"><span style="color:rgb(34,34,34);font-size:14px">scons: *** [build\game-slices.o] Error 1</span><div><br></div><div><br></div>
<br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.<wbr>org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.<wbr>org/listinfo.cgi/ohrrpgce-<wbr>motherhamster.org</a><br>
<br></blockquote></div><br></div>