The_Sage said:
That explains why you consider the question unanswered.
??? Umm...ridiculous statements like this are the product of taking
things out of context too liberally. The original question was whether
MS, Borland, or IBM admit that their compilers are not strictly
conforming. I answered the question a long time ago. You kept
insisting that it was not answered, hence, my quote of your quote
above. So I'm not really sure where you got the idea that I
consider the question unanswered, since I'm not even the one
that asked it!!! You are! I was someone *giving an answer*.
So even someone who knows nothing about this thread can
see you've sunken into absurdity, since it doesn't make any
sense at all that someone giving an answer would consider the
answered question unanswered, while someone asking it, but
rejecting all the answers, would not!
[...]
You're right. They didn't fail that section.
Then your point is moot, since you were wrong about void main()
being illegal. And I don't see MS or IBM on your "partially
conforming" list either.
So basically, you don't mind making a fool of yourself by taking quotes
out of context until the originally meaning is completely reversed? I mean,
who do you think you are fooling? Do you think that every person
reading this thread is illiterate, and can't see the previous post in which
I explain how Borland is conforming in ANSI mode?
I'm also dumbfounded on how you "don't see MS...on [my] 'partially
conforming' list". Did you not see this:
http://msdn.microsoft.com/visualc/productinfo/overview/whatsnew.aspx
"With 98-percent conformance, Visual C++ .NET 2003 is
more conformant to ISO C++ standards than any previous
version of Visual C++, and it contains new language support
for features including Koenig Lookup and Partial Template
Specialization."
Unbelievable as it may be, this quote is in the exact post to which
you are replying. It is right below the Borland quote. Only someone
with extreme ADD would have failed to continue reading past the
end of the Borland quote to see this. Do you suppose a healthy
dose of Ritalin would help your understanding on this thread? Oh,
and Mr. Terekov politely included several references to IBM's
compiler manuals, which show that their compilers don't even allow
more than the typical two forms for main(), and most certainly not
"void main()".
Furthermore, I included the results from the CUJ compiler roundup,
which includes all the major compilers on the market, and shows
that at the time of publication, not a single one of them was 100%
conforming according to any test. The rest of the C++ community
pretty much respects the result of the test, even if they might disagree
on minor points here and there about the interpretation of conformance
tests. But one thing they do agree on is that the major point is
unassailable: all but one compiler are provably non-conforming, and
the one that might be conforming is certainly not perfectly so.
How you get that MS or IBM are not on the partially conforming
list is simply not comprehensible to me. You're going to need to
explain how you read my entire post and missed all the parts where
I showed that they are non-conforming.
Still waiting for you to prove void main() is illegal according to the
standard (and not by quoting it out of context either).
I don't need to prove that. It's been proven tens, if not hundreds of
times already. To do so again would be ridiculous. What you *are*
waiting for is for me (or someone else) to prove *to you* that "void
main()" is illegal. Unfortunately, I believe this is a non-computable
problem. That is, proving to you that "void main()" is illegal is
isomorphic to solving the halting problem. It is also analogous to
teaching tensor calculus to an igneous rock formation.
But wait! You've already proven you weren't competent enough to
refute where the standard states...
??? What does it mean to "refute where the standard states X"? I'm
one of the people that QUOTED the standard, so why on earth would
I try to refute that which I quoted? You are not making any sense at
all.
3.6.1 Main function paragraph 2:
"It shall have a return type of type int
-->BUT<--
otherwise its type is implementation-defined"
That's pretty clear:
That's the only thing we can all agree on.
A conforming compiler can use void main() as long as it makes int
main() available...duh!
If it's so obvious, why are you the only person in this thread that reads it
that way? You are somehow smarter than 10-20 other people, some
of whom are responsible for interpreting and redefining the standard?
Explain how "shall have a return type of int" REALLY means "may
have any return type as long as one of them is int". To analyze the
logic of your proposition, I will offer one more analogy:
"Vehicles travelling on a highway with no speed limit signs shall
travel at no more than 55 miles per hour"
vs.
"Vehicles travelling on a highway with no speed limit signs may
travel at any speed, AS LONG AS ONE OF THEM IS
TRAVELLING at no more than 55 miles per hour."
As far as I can tell, your argument and my example have exactly
the same logical form. So you should be able to use my analogy
to prove to the state patrol officer that you were speeding legally,
because there was at least one other person on the road who was
not. Put your money where your mouth is, and try it out. Or do
you not believe in your own "logic"?
So I'm not wasting my time with your stupidity any longer, since
you aren't going to be honest enough to simply refute it with
logic or facts (I wonder if you even know what those words
mean?).
This is pretty funny. I have facilitated your self-embarrassment
time and again, and you still come back for more. It's like you
don't understand or don't care how other people view you. It
makes me wonder if you are mildly autistic. Or perhaps this is
the only way you can get attention. Or maybe you have a
compulsive need for attention, and being rigidly contrarian serves
that purpose. At any rate, if I were to present any more logic or
facts, I could just about write a Ph.D dissertation on "Why void
main() is ill-formed C++". And you still wouldn't get it.
Dave