Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #401212 > unrolled thread

Re: this girl calls c ugly

Started byTim Rentsch <tr.17687@z991.linuxsc.com>
First post2026-08-15 09:37 -0700
Last post2026-08-15 09:37 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.c

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: this girl calls c ugly Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-08-15 09:37 -0700

#401212 — Re: this girl calls c ugly

FromTim Rentsch <tr.17687@z991.linuxsc.com>
Date2026-08-15 09:37 -0700
SubjectRe: this girl calls c ugly
Message-ID<86y0e749xs.fsf@linuxsc.com>
Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:

> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>
>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:

[...]

>>> You made a statement, "gcc disagrees with you".  I demonstrated,
>>> in text that you snipped, that gcc does in fact agree with me.
>>
>> No, you didn't.
>
> Yes, I did.
>
>>> You were wrong.
>>
>> No, I wasn't.  Your testing was faulty.
>
> Yes, you were.  My testing was not faulty.

Oddly enough, your response reminds me of an observation
reportedly attributed to Leonaro da Vinci.

~ $ cd demo
~/demo $ /bin/ls
ce.c
~/demo $ cat ce.c
#include <limits.h>

int
main(){
    switch(1){
	case (INT_MAX+1)*0:	return  1;
	default:		return  0;
    }
}
~/demo $ gcc -std=c99 -pedantic-errors -Wno-overflow -o gcc-ce ce.c
~/demo $ clang -std=c99 -pedantic-errors -Wno-integer-overflow -o clang-ce ce.c
~/demo $ /bin/ls
ce.c  clang-ce	gcc-ce
~/demo $ ./gcc-ce
~/demo $ echo $?
0
~/demo $ ./clang-ce
~/demo $ echo $?
0
~/demo $ 

[toc] | [standalone]


Back to top | Article view | comp.lang.c


csiph-web