• Different languages (off-topic in CLC) (Was: C23 auto x C++ auto.)

    From Kenny McCormack@21:1/5 to [email protected] on Mon May 27 11:06:31 2024
    In article <v2vela$3e4pn$[email protected]>,
    Thiago Adams <[email protected]> wrote:
    ...
    <source>:7:4: error: 'auto' requires a plain identifier, possibly with >attributes, as declarator
    7 | auto * p = node.next;
    | ^~~~

    This differs from C++.



    I'm sure it differs from Fortran as well. And COBOL.

    Note that C++ is just as much off-topic here as are those languaes.

    Just ask Keith; he'll tell you.

    And then he'll kindly instruct you something about a water cooler and three doors down and so on and so on.

    --
    The randomly chosen signature file that would have appeared here is more than 4 lines long. As such, it violates one or more Usenet RFCs. In order to remain in compliance with said RFCs, the actual sig can be found at the following URL:
    http://user.xmission.com/~gazelle/Sigs/DanQuayle

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)