Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello Haxiomic,
I'm using gcc on Windows which throws
.\app.c: In function 'unix_time':
.\app.c:19:15: error: invalid suffix "i64" on integer constant
19 | #define w2ux 116444736000000000i64 //1.jan1601 to 1.jan1970
because i64 is a Microsoft specific suffix, while compiler standard suffix is LL (long long). After that change, gcc have no more complains, I can link debug.lib without problem like this
gcc .\app.c -I.\haxe-bin\ .\haxe-bin\obj\lib\Main-debug.lib -g || exit /b
P.S.
While installing haxe-c-bridge, .haxelib directory is created in test/unit mangling all haxe libraries. By deleting or renaming it, all libraries are visible again (including required hxcpp).