F
Flash Gordon
Tomás Ó hÉilidhe wrote, On 12/12/07 20:31:
Actually, you are more likely to be correct if you assume that there is
at least one bug in your implementation's standard library than if you
assume it is free from errors. You are also likely to be correct if you
assume when your SW does not work that it is a bug in your code than if
you assume it is a bug in the library.
I use 'gcc -ansi -pedantic -Wall -Wextra' and don't get any warnings on
the system headers.
If I am *not* to assume that the implementation's standard library is free
from errors, then I may as well drop a boat-load of other assumptions that
I make in life, such as whether something will fall downward or upwards if
I let go of it, or whether my right arm will move if I will it to move.
Actually, you are more likely to be correct if you assume that there is
at least one bug in your implementation's standard library than if you
assume it is free from errors. You are also likely to be correct if you
assume when your SW does not work that it is a bug in your code than if
you assume it is a bug in the library.
If a particular implementor wants to use #include_green_lava in its header
files then let it... I just don't want to get errors or warnings about code
which is:
a) Not mine
b) Assumed to be perfect by the code which calls it
I use 'gcc -ansi -pedantic -Wall -Wextra' and don't get any warnings on
the system headers.