Comments (7)
Haxe and hxcpp have a special relationship in that they depend on each other. I consider it sufficient to have a version mapping between the two, as I suspect maintaining backward compatibility would be quite the ordeal.
from hxcpp.
To date, usually HXCPP has been designed where you can use the latest HXCPP with old versions of Haxe, but in order to use new versions of Haxe, you need the new HXCPP.
There's an exception to this with the debugger code, which requires "all_classes" in addition to "all_files", it can run with only a few changes:
I suppose this could be considered back-porting a new feature, though, but running the debugger can still be helpful for determining the cause of a crash
from hxcpp.
If that's just small changes that don't put a big mess in code, I guess we can have them added. Please send a pull request.
from hxcpp.
Is there a reason to name it HAXE_VERSION if our own define is haxe_ver?
from hxcpp.
Originally the decision to break backwards compatibility was made because
we though there was no one using the cold code, and version 3.1 would be
out soon. I hate breaking compatibility, so I would not have done it if I
though people were actually using it.
There are other issues with full paths and threads that need to be done
properly, so if you wait a few weeks for me to get around to it I can do it
properly and make it work for all versions of haxe. Of course, if haxe 3.1
is released, that would also solve the problem.
On Sat, Dec 21, 2013 at 8:02 AM, Joshua Granick [email protected]:
To date, usually HXCPP has been designed where you can use the latest
HXCPP with old versions of Haxe, but in order to use new versions of Haxe,
you need the new HXCPP.There's an exception to this with the debugger code, which requires
"all_classes" in addition to "all_files", it can run with only a few
changes:openfl@93b6d2chttps://github.com/openfl/hxlibc/commit/93b6d2cc6e452e7ad02bf9e6d4810f9634533b59
I suppose this could be considered back-porting a new feature, though, but
running the debugger can still be helpful for determining the cause of a
crash—
Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-31050869
.
from hxcpp.
Le 21/12/2013 12:03, Hugh Sanderson a écrit :
Originally the decision to break backwards compatibility was made because
we though there was no one using the cold code, and version 3.1 would be
out soon. I hate breaking compatibility, so I would not have done it if I
though people were actually using it.There are other issues with full paths and threads that need to be done
properly, so if you wait a few weeks for me to get around to it I can do it
properly and make it work for all versions of haxe. Of course, if haxe 3.1
is released, that would also solve the problem.
In all cases, 3.1.0 will be an "unstable" release, so we cannot expect
to have all users switching to it until we reach 3.2.0 which will be the
next stable.
Funny I've actually just finish written a mail on [haxedev] regarding 3.1.x
Best,
Nicolas
from hxcpp.
I used HAXE_VERSION and HAXE to mirror some of the standard defines I found with other toolchains, for example, GNUC and GNUC_MINOR, etc. Surely this isn't the only way to do it, and I'm most interested in how Hugh would handle it (which always tends to be the best solution). I forget, but I don't think haxe_ver populated in a way it was useful to the C++ compile.
from hxcpp.
Related Issues (20)
- wasm is not working with hxcpp HOT 2
- NME Android build error
- String::create(wchar_t* ...) is broken on non Windows systems
- Adding support for vs 2022
- HXCPP_API_LEVEL 300 Cleanup HOT 1
- GC Pinning HOT 4
- How to properly shutdown a hxcpp DLL?
- Casts inserted and I don't know why HOT 2
- FreeBSD, Could not find include file "toolchain/null-toolchain.xml" HOT 1
- Strange CPP error HOT 2
- Pointer_obj::ofArray changes length of empty array from 0 to 1
- Allow using system sqlite?
- Linking issue on HXCPP_MINGW under MSYS2 HOT 2
- Cannot have an array of pointers HOT 2
- hxcpp does not quote -I paths with spaces
- Explicitly allow c++14
- Abstract wrapping extern cannot find the extern
- thread count discrepancy in extern-use test
- @:generic ignores @:unreflective HOT 5
- Reflect.field(String, "fromCharCode") doesnt work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hxcpp.