<div dir="ltr">Why would you need a VM for that?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 May 2017 at 04:09, 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"><div dir="ltr">I haven't had time yet, but sooner or later I will get an Android nightly build VM up and running so we can spot such things quicker.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 18, 2017 at 9:05 AM, Ralph Versteegen <span dir="ltr"><<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Fixed. The NDK r8 toolchain uses gcc 4.6. I was going to say it doesn't support that c++11 feature, but actually looks more like a compiler bug.<br></div><div class="m_-3606286913541904193HOEnZb"><div class="m_-3606286913541904193h5"><div class="gmail_extra"><br><div class="gmail_quote">On 19 May 2017 at 02:31, 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"><div dir="ltr"><div><div><div><div>Double Opps!<br><br></div>8704 is the last revision that worked on android.<br></div>8705 was broken on other platforms<br></div>8706 fixed other platforms, but is still broken on Android.<br><br></div>Here is the place where it fails:<br><br>Compile++ thumb  : application <= surface.cpp<br>/home/james/misc/android-ndk-r<wbr>8d/toolchains/arm-linux-androi<wbr>deabi-4.6/prebuilt/linux-x86/b<wbr>in/arm-linux-androideabi-g++ -MMD -MP -MF ./obj/local/armeabi/objs-debug<wbr>/application/ohrrpgce/tmp/surf<wbr>ace.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -O0 -UNDEBUG -marm -fno-omit-frame-pointer -Ijni/../jni/application/ohrrp<wbr>gce/tmp -Ijni/../jni/application/../sd<wbr>l-1.2/include -Ijni/../jni/application/../sd<wbr>l_mixer/include -Ijni/../jni/application/../fb<wbr>/include -I/home/james/misc/android-ndk<wbr>-r8d/sources/cxx-stl/gnu-libst<wbr>dc++/4.6/include -I/home/james/misc/android-ndk<wbr>-r8d/sources/cxx-stl/gnu-libst<wbr>dc++/4.6/libs/armeabi/include -Ijni/../jni/application -DANDROID -O3 -DFBCVERSION=1060 --std=c99 -Wa,--noexecstack --std=c++0x -g -Wall -Wno-non-virtual-dtor  -g   -I/home/james/misc/android-ndk<wbr>-r8d/platforms/android-4/arch-<wbr>arm/usr/include -c  jni/../jni/application/ohrrpgc<wbr>e/tmp/surface.cpp -o ./obj/local/armeabi/objs-debug<wbr>/application/ohrrpgce/tmp/surf<wbr>ace.o <br>cc1plus: warning: command line option '-std=c99' is valid for C/ObjC but not for C++ [enabled by default]<br>jni/../jni/application/ohrrpgc<wbr>e/tmp/surface.cpp: In function 'void shrinkrow(RGBcolor*, int, RGBcolor*, int, int, fixedpoint)':<br>jni/../jni/application/ohrrpgc<wbr>e/tmp/surface.cpp:157:85: error: cannot convert '<brace-enclosed initializer list>' to 'uint32_t {aka unsigned int}' in initialization<br>make: *** [obj/local/armeabi/objs-debug/<wbr>application/ohrrpgce/tmp/surfa<wbr>ce.o] Error 1<br>make: *** Waiting for unfinished jobs....<br><br><br><div><div><div><div><div><br><br></div></div></div></div></div></div><div class="m_-3606286913541904193m_-4437420186793221293HOEnZb"><div class="m_-3606286913541904193m_-4437420186793221293h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 18, 2017 at 7:12 AM, 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"><div dir="ltr"><div><div>Opps!<br><br></div>It looks like revision 8705 broke the Android build. It fails with the following:<br><br>fbc -c gfx_sdl.bas -o build/game-gfx_sdl.o -mt -exx -g -O 2 -target linux -arch 686 -d DATAFILES='"/usr/share/games/o<wbr>hrrpgce"' -d IS_GAME -m game<br>/home/james/src/ohr/wip/<a href="http://surface.bi" target="_blank">surfac<wbr>e.bi</a>(37) error 14: Expected identifier, found 'XYPair' in 'size as XYPair'<br>scons: *** [build/game-gfx_sdl.o] Error 1<br>scons: building terminated because of errors.<br><br><br></div>Not sure why this works on other platforms but fails on Android<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote"><span>On Mon, May 1, 2017 at 9:29 AM,  <span dir="ltr"><<a href="mailto:subversion@hamsterrepublic.com" target="_blank">subversion@hamsterrepublic.co<wbr>m</a>></span> wrote:<br></span><div><div class="m_-3606286913541904193m_-4437420186793221293m_-70360026124824900h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">teeemcee<br>
2017-05-01 09:29:43 -0700 (Mon, 01 May 2017)<br>
165<br>
Add Slice.{Pos,ScreenPos,Size}, Frame.size, Surface.size, MouseInfo.pos, which are in union with the existing members<br>
<br>
Start to use these aliases around the codebase<br>
---<br>
U   wip/allmodex.bas<br>
U   wip/<a href="http://allmodex.bi" rel="noreferrer" target="_blank">allmodex.bi</a><br>
U   wip/common.rbas<br>
U   wip/scriptcommands.bas<br>
U   wip/slices.bas<br>
U   wip/<a href="http://slices.bi" rel="noreferrer" target="_blank">slices.bi</a><br>
U   wip/<a href="http://surface.bi" rel="noreferrer" target="_blank">surface.bi</a><br>
______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div><br></div>
</div></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>