iOS Question error: 'type-name' cannot be signed or unsigned

Alessandro71

Well-Known Member
Licensed User
Longtime User
While compiling my B4i project, which runs fine in B4A, I have the following error:

Diff:
In file included from /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_wizardpage.m:47:
/Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_hexparser.h:136:14: error: 'type-name' cannot be signed or unsigned
@public BOOL __signed;

I'm using the hosted builder
 

Alessandro71

Well-Known Member
Licensed User
Longtime User
I think I solved this one:
I changed this line

B4X:
    Public Const SIGNED As Boolean = True

into this

B4X:
    Public Const TYPE_SIGNED As Boolean = True

Looks like some keywords are reserved or may cause unexpected behaviour.
I may suggest a warning in the IDE for such identifiers.
 
Upvote 0
Top