We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right now the build on sm 1.11 fails:
Compile addons/sourcemod/scripting/MyJailbreak/playertags.sp addons/sourcemod/scripting/MyJailbreak/playertags.sp(89) : error 101: specify either all dimensions or only the last dimension addons/sourcemod/scripting/MyJailbreak/playertags.sp(90) : error 101: specify either all dimensions or only the last dimension addons/sourcemod/scripting/MyJailbreak/playertags.sp(543) : error 163: indeterminate array size in "sizeof" expression (symbol "g_sStatsTag") addons/sourcemod/scripting/MyJailbreak/playertags.sp(544) : error 163: indeterminate array size in "sizeof" expression (symbol "g_sStatsTag") addons/sourcemod/scripting/MyJailbreak/playertags.sp(545) : error 163: indeterminate array size in "sizeof" expression (symbol "g_sStatsTag") addons/sourcemod/scripting/MyJailbreak/playertags.sp(546) : error 163: indeterminate array size in "sizeof" expression (symbol "g_sStatsTag") addons/sourcemod/scripting/MyJailbreak/playertags.sp(547) : error 163: indeterminate array size in "sizeof" expression (symbol "g_sStatsTag") addons/sourcemod/scripting/MyJailbreak/playertags.sp(549) : error 163: indeterminate array size in "sizeof" expression (symbol "g_sChatTag") addons/sourcemod/scripting/MyJailbreak/playertags.sp(550) : error 163: indeterminate array size in "sizeof" expression (symbol "g_sChatTag") addons/sourcemod/scripting/MyJailbreak/playertags.sp(551) : error 163: indeterminate array size in "sizeof" expression (symbol "g_sChatTag") addons/sourcemod/scripting/MyJailbreak/playertags.sp(552) : error 163: indeterminate array size in "sizeof" expression (symbol "g_sChatTag") addons/sourcemod/scripting/MyJailbreak/playertags.sp(553) : error 163: indeterminate array size in "sizeof" expression (symbol "g_sChatTag")
The issue is in the following lines: We should migrate the g_eROLES enum to an enum struct https://github.com/shanapu/MyJailbreak/blob/master/addons/sourcemod/scripting/MyJailbreak/playertags.sp#L80-L87
g_eROLES
enum
enum struct
Where it is used: Declare the array using the enum struct as type.
MyJailbreak/addons/sourcemod/scripting/MyJailbreak/playertags.sp
Lines 91 to 92 in 148fccd
Lines 557 to 561 in 148fccd
The text was updated successfully, but these errors were encountered:
Fix unsupported enum
2a6fa76
This closes #359
Not tested but should work
Sorry, something went wrong.
Hexer10
No branches or pull requests
Right now the build on sm 1.11 fails:
The issue is in the following lines:
We should migrate the
g_eROLES
enum
to anenum struct
https://github.com/shanapu/MyJailbreak/blob/master/addons/sourcemod/scripting/MyJailbreak/playertags.sp#L80-L87
Where it is used:
Declare the array using the enum struct as type.
MyJailbreak/addons/sourcemod/scripting/MyJailbreak/playertags.sp
Lines 91 to 92 in 148fccd
MyJailbreak/addons/sourcemod/scripting/MyJailbreak/playertags.sp
Lines 557 to 561 in 148fccd
The text was updated successfully, but these errors were encountered: