I would like to be able to treat makepp warnings as errors. The reason why is that when compiling code on multiple platforms the output files are not always the same. Eventually makepp gives warnings which should be handled. However when running makepp using automated builds these warnings can be missed.
Thus I would like to have a hard stop to ensure that it gets properly fixed.
Is this possible?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to be able to treat makepp warnings as errors. The reason why is that when compiling code on multiple platforms the output files are not always the same. Eventually makepp gives warnings which should be handled. However when running makepp using automated builds these warnings can be missed.
Thus I would like to have a hard stop to ensure that it gets properly fixed.
Is this possible?
Hi Henrik,
do it the normal Perl way, by promoting warn to die:
perl {
$SIG{__WARN__} = sub { die $_[0] };
}
# Naughty, forgot phony:
oho: aha
&echo oho
aha:
&echo aha