Path: csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: gcc failure (optimised/non-optimised) Date: Sun, 30 Apr 2017 12:03:43 -0700 Organization: None to speak of Lines: 15 Message-ID: References: <58fb2265.5246218@news.xs4all.nl> <959d5007-8ac8-42f9-a6d9-b5e23feda0de@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="518c2254bac820b1cb24a1d9d6a93e31"; logging-data="23057"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Yt2PC+ZaDdTAvrd/PCyF0" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:Gv7uG1LlJY6YsmSX1js5ENzCjB0= sha1:M3XZTAJSTgGh294oEB9CszWAE2M= Xref: csiph.com comp.lang.c:108793 David Kleinecke writes: [...] > If one is thinking calculation signed int is more natural > but unsigned is more natural in (I believe) most uses of C. > But I fear it is far too late to make "int" mean "unsigned > int". I usually cheat by typedeffing "Int" as "unsigned int" > and using Int the "default" type. Please never ask me to read your code. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"