Community
Participate
Working Groups
In the batch compiler, there is no way right now to easily report all posssible warnings. We should add an option for this. Could be -warn:all ?
Created attachment 201731 [details] Proposed fix This doesn't support the case where you do: -warn:all,-unused which would trigger all warnings except for the unused warnings. It only supports -warn:all which triggers all warnings. Any usage of -warn:.... afterwards would reset the warnings to the default level.
Created attachment 201734 [details] Proposed fix More complete patch. It supports the usage of '+' and '-' inside multiple warning tokens, but it stills support multiple warning options on the command line.
This is useful when testing warnings in the compiler.
Fixed for 3.8M3. Commit f363db69d77a20757ac0ea9e878cf9c696cd79df
Verified using build N20111022-2000.