HeapsIO / hxbit

Haxe Binary serialization and network synchronization library
155 stars 30 forks source link

Duplicabled Symbol from iPhoneOS SDK 13.5 #51

Closed qkdreyer closed 4 years ago

qkdreyer commented 4 years ago
In file included from /Users/qkdreyer/Dev/heaps-ios/out/main.c:10:
In file included from /Users/qkdreyer/Dev/heaps-ios/out/hl/functions.c:1070:
/Users/qkdreyer/Dev/heaps-ios/out/hxbit/Serializer.h:38:18: error: expected member name or ';' after declaration specifiers
        haxe__io__Bytes __SIGN;
        ~~~~~~~~~~~~~~~ ^
In file included from /Users/qkdreyer/Dev/heaps-ios/out/main.c:3:
In file included from /Users/qkdreyer/Dev/heaps-ios/deps/hashlink/src/hlc.h:26:
In file included from /Users/qkdreyer/Dev/heaps-ios/deps/hashlink/src/hl.h:197:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/stdio.h:88:17: note: expanded from macro '__SIGN'
#define __SIGN  0x8000          /* ignore this file in _fwalk */

This issue also happened with deepnightLibs Maybe we should find a better than renamed these variable in haxe libs. What do you think @ncannasse ?

ncannasse commented 4 years ago

There is an undef list in hlc.h for such conflicting symbols

Le dim. 14 juin 2020 à 12:15, Quentin Dreyer notifications@github.com a écrit :

In file included from /Users/qkdreyer/Dev/heaps-ios/out/main.c:10: In file included from /Users/qkdreyer/Dev/heaps-ios/out/hl/functions.c:1070: /Users/qkdreyer/Dev/heaps-ios/out/hxbit/Serializer.h:38:18: error: expected member name or ';' after declaration specifiers haxeioBytes __SIGN;


In file included from /Users/qkdreyer/Dev/heaps-ios/out/main.c:3:
In file included from /Users/qkdreyer/Dev/heaps-ios/deps/hashlink/src/hlc.h:26:
In file included from /Users/qkdreyer/Dev/heaps-ios/deps/hashlink/src/hl.h:197:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/stdio.h:88:17: note: expanded from macro '__SIGN'
#define __SIGN  0x8000          /* ignore this file in _fwalk */

This issue also happened with deepnightLibs
<https://github.com/deepnight/deepnightLibs/issues/11>
Maybe we should find a better than renamed these variable in haxe libs.
What do you think @ncannasse <https://github.com/ncannasse> ?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/HeapsIO/hxbit/issues/51>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHZXQBUOKBS53F5K73VIHLRWSPKZANCNFSM4N5MJQXQ>
.