In article <0f**********************************@f10g2000hsf. googlegroups.com>,
asit <li*****@gmail.comwrote:
>Are warnings equally dangerous like errors ????
It depends on the warning.
Some of them are harmless. Many of them are more dangerous, since
careless programmers assume they're irrelevant, where errors obviously
need to be fixed.
>What is the difference between errors and warnings ??
If a compiler issues a warning, it probably thinks it can come up with
a sensible way to interpret what you gave it, or suspects that a
well-defined and unambiguous construct is nevertheless probably not
what you intended to say.
An error usually means the compiler is sufficiently confused (or the
code is sufficiently broken) to not be able to continue.
(Note that this is an implementation detail; the C language only
requires "diagnostics", and doesn't distinguish between errors and
warnings.)
dave
--
Dave Vandervies dj3vande at eskimo dot com
I'd suggest that for all your connecting-to-the-ScourgeFromRedmond needs [...]
Perhaps you might consider one of the many fine point-and-click interfaces
offered by your local gunshop? --Anthony de Boer in the scary devil monastery