Hi,
The resulted framework's header file was generated and contained many "@end;". Note the trailing semicolon.
For example:
__attribute__((swift_name("KotlinInt")))
@interface AuthyInt : AuthyNumber
- (instancetype)initWithInt:(int)value;
+ (instancetype)numberWithInt:(int)value;
@end;
The build failed and showed the following errors:
error: unknown attribute 'swift_name' ignored [-Werror,-Wunknown-attributes]
__attribute__((swift_name("KotlinInt")))
error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi]
@end;
^
The Kotlin tutorial also displays the similar annotation in its header file, so I believe it's how Kotlin generates it.
I would appreciate any suggestion of how to handle this scenario. Maybe a tweak in the C++ build config?
Thanks!