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


Groups > comp.lang.c > #401431

Re: Expression statements (was Re: Meaning of "expression")

From Tim Rentsch <tr.17687@z991.linuxsc.com>
Newsgroups comp.lang.c
Subject Re: Expression statements (was Re: Meaning of "expression")
Date 2026-08-23 06:18 -0700
Organization A noiseless patient Spider
Message-ID <86cxv9ynze.fsf@linuxsc.com> (permalink)
References (16 earlier) <111shoe$3vq40$3@kst.eternal-september.org> <86wlts5tbr.fsf@linuxsc.com> <115o0en$2rq0k$2@kst.eternal-september.org> <86ecfu15za.fsf@linuxsc.com> <11659ir$314h2$1@kst.eternal-september.org>

Show all headers | View raw


Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:

> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
> [...]
>
>> I'm glad to know we are in agreement.
>
> We're not.

I don't know why you say this.  I said this:

   printf() could know if an argument were of an incorrect type,
   if an implementation chose to do so.

You said this:

   Certainly printf has no way defined by the language to know
   whether its arguments are of the correct types.  An
   implementation could provide that information via some
   system-specific method,

To me that statement implies that an implementation could provide a
printf() function that took advantage of the argument types you say
an implementation could provide, and thus could know if an argument
were of an incorrect type.  What part of what you think I am saying
do you not agree with?

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Expression statements (was Re: Meaning of "expression") Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-06-28 02:49 +0200
  Re: Expression statements (was Re: Meaning of "expression") Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-06-27 21:00 -0700
    Re: Expression statements (was Re: Meaning of "expression") Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-06-28 09:52 -0700
      Re: Expression statements (was Re: Meaning of "expression") Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-06-28 18:28 -0700
        Re: Expression statements (was Re: Meaning of "expression") Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-08-14 13:40 -0700
          Re: Expression statements (was Re: Meaning of "expression") Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-08-14 14:13 -0700
            Re: Expression statements (was Re: Meaning of "expression") Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-08-19 08:32 -0700
              Re: Expression statements (was Re: Meaning of "expression") Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-08-19 15:09 -0700
                Re: Expression statements (was Re: Meaning of "expression") Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-08-23 06:18 -0700
                Re: Expression statements (was Re: Meaning of "expression") Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2026-08-23 21:21 +0800
                Re: Expression statements (was Re: Meaning of "expression") Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-08-23 15:36 -0700

csiph-web