SM-TFUtils icon indicating copy to clipboard operation
SM-TFUtils copied to clipboard

Compile errors

Open dedimark opened this issue 2 years ago • 1 comments

Soucemod - 1.11 - build 6919

//// tf2utils.sp // // tf2utils.sp(500) : warning 209: function has explicit 'int' tag but does not return a value // tf2utils.sp(559) : warning 209: function has explicit 'int' tag but does not return a value // tf2utils.sp(580) : warning 209: function has explicit 'int' tag but does not return a value // tf2utils.sp(610) : warning 209: function has explicit 'int' tag but does not return a value // tf2utils.sp(776) : warning 242: function "Native_SetPlayerConditionDuration" should return an explicit value // tf2utils.sp(808) : warning 242: function "Native_SetPlayerConditionProvider" should return an explicit value // tf2utils.sp(836) : warning 242: function "Native_SetPlayerBurnDuration" should return an explicit value // tf2utils.sp(836) : warning 242: function "Native_SetPlayerBurnDuration" should return an explicit value // tf2utils.sp(849) : warning 242: function "Native_IgnitePlayer" should return an explicit value // tf2utils.sp(971) : warning 242: function "Native_SetPlayerRespawnTimeOverride" should return an explicit value // tf2utils.sp(971) : warning 242: function "Native_SetPlayerRespawnTimeOverride" should return an explicit value // Code size: 31760 bytes // Data size: 10000 bytes // Stack/heap size: 16732 bytes // Total requirements: 58492 bytes // // 11 Warnings. // // Compilation Time: 0.48 sec

Can you fix please?

dedimark avatar Dec 23 '22 10:12 dedimark

Those are warnings, not errors. The plugin was still successfully compiled (provided you don't have the "treat warnings as errors" flag set, which you don't in this case).

I'll consider dealing with SourceMod compiler churn in a future commit.

nosoop avatar Dec 23 '22 10:12 nosoop