I have turned on -Wall
in my code to get rid of all warnings. Some however I want to allow within the code, so I disable those ones in code. Of the common ones, I can easily find out the warning number in Google and disable them like e.g.:
#pragma warning( disable : 4127 )
But of some, I can't possibly find the corresponding number. For example, I want to disable a:
warning : array subscript is of type 'char' [-Wchar-subscripts]
How do I find its number? Is there a searchable list? The Microsoft documentation isn't searchable on keyword, only on number.