Raised This Month: $ Target: $400
 0% 

SourcePawn compiler suggestion


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Gold Fish
Senior Member
Join Date: Mar 2020
Old 02-11-2021 , 07:01   Re: SourcePawn compiler suggestion
Reply With Quote #7

Quote:
Originally Posted by DJ Tsunami View Post
You are storing strings in an integer array. So those warnings are not so useless after all.

To use different variable types in an array probably want to use enum structs.

Also, spcomp already has -w<num> to disable a specific warning by its number.
Thanks a lot, didn't know about this.
But it would be more convenient with the preprocessor directive #pragma so that the online compiler would also support this function
Gold Fish is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode