error C3083: 'lime': the symbol to the left of a '::' must be a type
haxe 3.4.2, hxcpp 3.4.64, lime 2.9.1 (old), openfl 3.6.1 (old), flixel 4.3.0, Visual Studio 2013
If I add a line import flash.events.GameInputEvent; to some module, I get error like on the picture:

Example project: little-test.zip
It's no longer a problem for me after finding the offending line and removing it (maybe not even hxcpp's fault), but thought I should report it anyway
This report seems consistent with the issue described in: https://github.com/HaxeFoundation/haxe/issues/5092
Flixel 4.3.0 still set the legacy define: https://github.com/HaxeFlixel/flixel/blob/a59545015a65a42b8f24b08262ac80de020deb37/include.xml#L18C2-L18C37
This made it so that lime classes were marked as extern, which caused issues like this whenever a lime class was used.
So this was an openfl/lime bug, not a haxe or hxcpp bug, and it doesn't happen anymore with modern library versions