Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!weretis.net!feeder8.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Philipp Klaus Krause <pkk@spth.de> |
| Newsgroups | comp.std.c |
| Subject | Re: Return pointers-to-const where data shall not be modified |
| Date | Fri, 28 Aug 2020 11:40:44 +0200 |
| Organization | solani.org |
| Message-ID | <riajet$mn8$1@solani.org> (permalink) |
| References | <r8urv8$82c$1@solani.org> <87tv0szuj7.fsf@nosuchdomain.example.com> <04b46dc3-f655-4292-823c-60b04b881425n@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Fri, 28 Aug 2020 09:40:45 -0000 (UTC) |
| Injection-Info | solani.org; logging-data="23272"; mail-complaints-to="abuse@news.solani.org" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
| X-User-ID | eJwFwQcBwEAIBDBLzCvIYb1/CU1cwZjP4DB//qaa9jS9S+vESoJXYvvYhVC2pTmgbMS9oR8xWxGq |
| Cancel-Lock | sha1:NKGPCG599j/4o0PEoQdsJU5x1RA= |
| Autocrypt | addr=pkk@spth.de; keydata= mQGiBD+wIQ0RBAD5IkcgQQIAPO93xBBvviI0htuoaeb++GqG51BImx+rnWIS+1z+r3y5jQU5 IRYS8eDC3eR5PFtde/f7/3zxaJIB0bgXB1eMPot5CaN7mpUySVNh9bzH/UP7rVH0Ut7Bx/CI 7EXxhvYE23F/TAf+gS4flFqQ/GdK+MME+dg8J5nFbwCg92xq6iuAvyz7vSho9qbKHsCD3AkE AMbuLLBvk4mPvs19aRGZvT/pows1uzkeNq8fpmzvryb4UxUbU89qlNzA2Bg8ztVZGX9x5drb C4tFE29ZFAHn2bojx2ADxG85+2as8yfcz6sPG4HMzeTtugzPGCeRAXaSknZHsw6AC6Lrt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uMaohGBBgRAgAGBQI/sCFjAAoJEG7VFfsbKC6aQ4oAnibaEjyIlrRMTmyL K76lqhloK0EPAKCQsgCELscmeJnxyjV1zZt6AJ6ctQ== |
| Content-Language | en-US |
| In-Reply-To | <04b46dc3-f655-4292-823c-60b04b881425n@googlegroups.com> |
| Xref | csiph.com comp.std.c:6150 |
Show key headers only | View raw
Am 19.08.20 um 19:44 schrieb Chris Peterson: > > Would limiting the const function prototypes to C2x code (gcc -std=c2x) address this concern about backwards compatibility? Old code that wants the non-const function prototypes can ask for an older C version (e.g. gcc -std=c18). That wouldbe done anyway. Changes in the stdandard do not apply retroactively (from an ISO perspective, the new stadard replaces the old one, so no statements about older standards are made). But people (the Austin group, i.e. the POSIX comittee) want to be able to compile old code in C2X mode and not see any new diagnostics. Philipp
Back to comp.std.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Return pointers-to-const where data shall not be modified Philipp Klaus Krause <pkk@spth.de> - 2020-05-06 19:25 +0200
Re: Return pointers-to-const where data shall not be modified Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-05-06 13:18 -0700
Re: Return pointers-to-const where data shall not be modified Chris Peterson <cpeterson@mozilla.com> - 2020-08-19 10:44 -0700
Re: Return pointers-to-const where data shall not be modified Philipp Klaus Krause <pkk@spth.de> - 2020-08-28 11:40 +0200
Re: Return pointers-to-const where data shall not be modified James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-08-28 08:42 -0400
csiph-web