Jun 8, 2018, 8:49 PM
Post #6 of 10
It is true that removing strict and warning from a correct program would not introduce any new errors. But why would you want to? They do not add any runtime penalty. They do remain on duty for every edit you make in the future. There are runtime conditions that produce warnings that are ignored if warnings are not enabled. If you really intend to ignore some warning, disable warning in a limited scope, not the whole program.
Re: [tc] Remove any amount of char from front and back of a string in a file
[In reply to]
On another topic, you should not be using function prototypes. They appear to be similar to those in "C" and other languages, but they have a very different meaning! Their purpose is not to catch errors, but rather to allow you to override certain built-in functions which would otherwise be impossible.
(This post was edited by BillKSmith on Jun 8, 2018, 9:07 PM)