You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When targeting Android on macOS, I receive the following error:
Error: /Users/E/Documents/Haxe/hxcpp/4,3,12/project/thirdparty/mbedtls-2.28.2/library/bignum.c: In function 'mpi_select':
/Users/E/Documents/Haxe/hxcpp/4,3,12/project/thirdparty/mbedtls-2.28.2/library/bignum.c:1990:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for( size_t i = 0; i < T_size; i++ )
^
/Users/E/Documents/Haxe/hxcpp/4,3,12/project/thirdparty/mbedtls-2.28.2/library/bignum.c:1990:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
I'm willing to test any suggested fixes.
Edit: May be necessary to update the mbedtls library.
The text was updated successfully, but these errors were encountered:
For anyone else having this issue, a fix is to include the compiler flag <compilerflag value="-std=c99" unless="MSVC_VER" /> within src/hx/libs/ssl/Build.xml, like used in #1041.
Ideally the entire mbedtls library within hxcpp will be updated, but it will also require the C99 fix. For more info, see this issue.
When targeting Android on macOS, I receive the following error:
I'm willing to test any suggested fixes.
Edit: May be necessary to update the mbedtls library.
The text was updated successfully, but these errors were encountered: