Search code examples
androidhaxeopenfllime-haxe

return-statement with no value in function returning void: HxScout with openfl


I'm developing an app for android using openfl. I could successfully compile for android before trying to use HxScout.

But following instructions on hxscout.com, when I try to test my app with this command: haxelib run lime test android -Dtelemetry

I get the following error: ./src/hxtelemetry/CppHxTelemetry.cpp:233: error: return-statement with no value, in function returning 'Void'


Solution

  • I just pushed the fix to both git and haxelib (hxtelemetry v0.3.5). I think there were issues with different versions of haxe/hxcpp wanting different styles of returns.

    Anyway, LMK if it doesn't work.