In
spinoza1111wrote:
FINALLY something substantial...I hope.
All my comments on your code have been substantial, whether you
realise it or not.
Oh for Christ's sake...you're too incompetent to use a global edit
change? No, this doesn't make the cut, and I won't change the use of
the comments.
I didn't ask you to. Learn to read. Comments are not the issue I was
raising.
I refer you to my definition of programming, per
Dijsktra and Knuth: it's the communication of intent as to using
computers between human beings, and if you act like an ape, you
aren't qualified to be in this conversation. It was clear even to
you that the lines are comments, and you know how to change them.
But because you're here to throw your weight around, you won't, and
you endanger my reputation with your posts as you harm Navia's
business and personal reputation.
No, bozo. My take was basically "okay, so he's using C99 comments,
which my compiler rejects - fair enough, I'll delete them, no harm
done". You are entitled to post C99 code here, because C99 is C too.
Comments are not the issue I was raising.
If this were a physical space I'd have long since asked you to
leave, and physically ejected you if necessary. And no, I wouldn't
call Security, either. I'd do it myself.
If wishes were horses, beggars would ride.
I've already said that I don't use balanced comments because they
are error prone.
They aren't, but // comments are legal in C99. (They are a syntax
error in C90.) If your code is intended to be C99-conforming, //
comments are not a syntactic issue. Comments are not the issue I was
raising.
[...] the people who get ahead are the back-stabbers: who
write attacks with 20 "errors" and then make reference to "100s".
You've been invited to supply 21 correct statements made by Schildt in
a C book. You have failed to do so. I conclude that you believe he
has not made 21 correct statements. Otherwise you'd be able to cite
them. If you are tempted to reply "do your own homework", remember
that the same reply applies to his errors - if you want to know what
the rest are, go find them.
You want a cite? I can provide one easily. By the way, losing your
temper in a technical discussion is counter-productive. And resorting
to expletives is a definite sign of losing your temper.
This suggestion is too minor to include in the Change Record but I
will make it.
Hallelujah - you actually learned something. Of course it's a minor
change. But it stops linewrap from breaking that line of code (given
a sensible line width in your Usenet editor).
Consider yourself credited with a minor formatting correction.
What you choose to write in your change log is no concern of mine.
This was noticed by Nick and I added it to Issues 30 minutes before
this post appeared, so no cigar.
I'm not after a cigar. And yes, I've seen Nick's reply. I had not seen
it at the time that I posted my reply; otherwise I would simply have
mentioned that "Nick has already addressed this point" and moved on.
Furthermore, it's not a
showstopper, because it appears only when (1) an unusual request for
malloc limitation is made to check the program's use of malloc (a
test made in tester() as well) and (2) the request is made using an
invalid non- number.
Oh, it's not a showstopper for *you*. It's only a showstopper for real
programmers who care about getting it right.
So again, no credit for you.
So what? How is that relevant to the broken code you posted?
Duh. Ever hear of a typo?
Yep. But a decent-quality modern compiler will warn you about several
common printf mismatches, of which your line of code had two. (My
compiler told me about both of them.) Ever hear of compiling before
posting?
And what is more, are you even fucking
Losing your temper again, I see. It is not unreasonable to interpret
such behaviour as a childish tantrum stemming from having no
technical arguments.
I knew the fix as soon as Nick pointed out this minor error.
Get a better compiler, and it will save you some egg for your supper.
OK, this will be done in rel 5 and you will be credited since it
seems to be somewhat of a consensus. What should your name be in the
Change Record? Heathfield? Anon? Fat Bastard? Whatever you like.
Your change log is your business, not mine. I have no confidence in
your ability to judge what constitutes a good change.
Note what this clown is doing. It would have been a simple matter
for him to paste the "60 diagnostic messages" into this email.
Last time I did that, you ignored them. So what's the point of posting
them again? But okay, since you're so keen to see them, here they
are:
foo.c: In function `addFactor':
foo.c:109: warning: passing arg 2 of `errorHandlerSyntax' discards
qualifiers from pointer target type
foo.c:133: warning: passing arg 2 of `errorHandlerSyntax' discards
qualifiers from pointer target type
foo.c:137: warning: passing arg 2 of `stringAppendChar' with different
width due to prototype
foo.c: In function `expression':
foo.c:172: warning: passing arg 2 of `errorHandlerSyntax' discards
qualifiers from pointer target type
foo.c:187: warning: passing arg 2 of `errorHandlerSyntax' discards
qualifiers from pointer target type
foo.c:199: warning: passing arg 2 of `errorHandlerSyntax' discards
qualifiers from pointer target type
foo.c:203: warning: passing arg 2 of `stringAppendChar' with different
width due to prototype
foo.c: In function `infix2Polish':
foo.c:232: warning: passing arg 1 of `errorHandler' discards
qualifiers from pointer target type
foo.c: In function `mulFactor':
foo.c:248: warning: passing arg 2 of `errorHandlerSyntax' discards
qualifiers from pointer target type
foo.c:256: warning: passing arg 2 of `stringAppendChar' with different
width due to prototype
foo.c:269: warning: passing arg 2 of `stringAppendChar' with different
width due to prototype
foo.c:299: warning: passing arg 2 of `errorHandlerSyntax' discards
qualifiers from pointer target type
foo.c:308: warning: passing arg 2 of `errorHandlerSyntax' discards
qualifiers from pointer target type
foo.c: In function `stringAppendChar':
foo.c:344: warning: passing arg 1 of `errorHandler' discards
qualifiers from pointer target type
foo.c: In function `testCase':
foo.c:378: warning: passing arg 1 of `malloc' as unsigned due to
prototype
foo.c:380: warning: passing arg 1 of `errorHandler' discards
qualifiers from pointer target type
foo.c: In function `tester':
foo.c:394: warning: passing arg 1 of `testCase' discards qualifiers
from pointer target type
foo.c:394: warning: passing arg 2 of `testCase' discards qualifiers
from pointer target type
foo.c:395: warning: passing arg 1 of `testCase' discards qualifiers
from pointer target type
foo.c:395: warning: passing arg 2 of `testCase' discards qualifiers
from pointer target type
foo.c:396: warning: passing arg 1 of `testCase' discards qualifiers
from pointer target type
foo.c:396: warning: passing arg 2 of `testCase' discards qualifiers
from pointer target type
foo.c:397: warning: passing arg 1 of `testCase' discards qualifiers
from pointer target type
foo.c:397: warning: passing arg 2 of `testCase' discards qualifiers
from pointer target type
foo.c:398: warning: passing arg 1 of `testCase' discards qualifiers
from pointer target type
foo.c:398: warning: passing arg 2 of `testCase' discards qualifiers
from pointer target type
foo.c:399: warning: passing arg 1 of `testCase' discards qualifiers
from pointer target type
foo.c:399: warning: passing arg 2 of `testCase' discards qualifiers
from pointer target type
foo.c:400: warning: passing arg 1 of `testCase' discards qualifiers
from
read more »- Hide quoted text -
- Show quoted text -...