View Single Post
Author Message
OneMore
Senior Member
Join Date: Feb 2019
Old 07-10-2022 , 08:15   warning suppression in SM 1.11
Reply With Quote #1

Recently because of the issue with cs:go, I replaced Sourcemod from 1.10 to 1.11.
I suppressed unnecessary warning 217 (inconsistent indentation) in SM 1.10 by adding a parameter -w217 to ./compile.sh script.
However, it does not work in SM 1.11, it looks like syntaxis was changed. But both variants ( -w217 or --warning=217 ) do not work and I'm getting this warning.
I have SM 1.11 v 6863 which is the latest compiled for macOS.

The worst thing is that it catches this warning in includes files and with several includes files I even can't find where is it. I mean the .sp file length is 600 lines, but it gives warnings for lines 1200 and 1700

So guys, what is the way now how to suppress this warning. And if you can advise how to find where it warns for complicated projects with several includes and dozens of files, I will much appreciate it.
OneMore is offline