I'm writing unit tests for some contracts and in some of the tests I'm generating a warning on purpose and solc
will display this warning when compiling.
Is there a way to disable warnings in solc
for the purpose of a test.
Something equivalent to MSVC++
#pragma warning(push)
#pragma warning(disable : 44444)
// CODE
#pragma warning(pop)
address
with auint256
, and then replacing every other occurrence ofa
withaddress(a)
.