Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #121490
| From | Muttley@DastardlyHQ.org |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Now this is just annoying. |
| Date | 2025-02-03 14:10 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <vnqiot$1a3rm$1@dont-email.me> (permalink) |
| References | <otOnP.1970339$oR74.850730@fx16.iad> <vnovud$tk6a$1@dont-email.me> <D34oP.186050$nlJ1.20684@fx41.iad> |
On Mon, 03 Feb 2025 14:06:27 GMT scott@slp53.sl.home (Scott Lurndal) wibbled: >James Kuyper <jameskuyper@alumni.caltech.edu> writes: >>Those are the only two forms that all implementations of C and C++ are >>required to accept, though they are allowed to accept additional >>implementation-defined forms. Those statements have been true of both >>languages for as long as they've been standardized. >>This is only a warning - fully conforming implementations are allowed to >>warn about anything they want, such as failing to use taboo words for >>user-defined identifiers. >>The warning is the default for C++, and is turned on by -Wall and >>-Wpedantic for C, because it's a reasonable thing to warn about. But if >>you disagree with that assessment, it can be turned off by -Wno-main > >My problem is that g++ never warned until recently, so it broke a build >that used -Werror. Flip flopping between whether something should be an error or not has been a "feature" of gcc ever since I can remember. I used to test compile C programs on a v4 release of gcc because it would error on just about everything if you set -Wall -pedantic and would spot problems that newer versions missed though thats not the case any more thankfully.
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Now this is just annoying. scott@slp53.sl.home (Scott Lurndal) - 2025-02-02 18:05 +0000
Re: Now this is just annoying. red floyd <no.spam.here@its.invalid> - 2025-02-02 11:05 -0800
Re: Now this is just annoying. Muttley@DastardlyHQ.org - 2025-02-03 08:55 +0000
Re: Now this is just annoying. scott@slp53.sl.home (Scott Lurndal) - 2025-02-03 14:02 +0000
Re: Now this is just annoying. Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-02-03 15:34 -0800
Re: Now this is just annoying. Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-02-02 15:22 -0800
Re: Now this is just annoying. scott@slp53.sl.home (Scott Lurndal) - 2025-02-03 14:05 +0000
Re: Now this is just annoying. James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-02-02 18:43 -0500
Re: Now this is just annoying. scott@slp53.sl.home (Scott Lurndal) - 2025-02-03 14:06 +0000
Re: Now this is just annoying. Muttley@DastardlyHQ.org - 2025-02-03 14:10 +0000
Re: Now this is just annoying. Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-02-03 15:21 -0800
Re: Now this is just annoying. scott@slp53.sl.home (Scott Lurndal) - 2025-02-03 23:54 +0000
Re: Now this is just annoying. Bonita Montero <Bonita.Montero@gmail.com> - 2025-02-03 15:16 +0100
Re: Now this is just annoying. scott@slp53.sl.home (Scott Lurndal) - 2025-02-03 17:46 +0000
Re: Now this is just annoying. Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-02-03 15:33 -0800
Re: Now this is just annoying. Bonita Montero <Bonita.Montero@gmail.com> - 2025-02-04 07:20 +0100
Re: Now this is just annoying. scott@slp53.sl.home (Scott Lurndal) - 2025-02-04 14:30 +0000
Re: Now this is just annoying. Bonita Montero <Bonita.Montero@gmail.com> - 2025-02-04 17:25 +0100
Re: Now this is just annoying. scott@slp53.sl.home (Scott Lurndal) - 2025-02-04 20:20 +0000
Re: Now this is just annoying. Bonita Montero <Bonita.Montero@gmail.com> - 2025-02-05 08:53 +0100
Re: Now this is just annoying. scott@slp53.sl.home (Scott Lurndal) - 2025-02-05 15:09 +0000
Re: Now this is just annoying. Bonita Montero <Bonita.Montero@gmail.com> - 2025-02-05 16:11 +0100
Re: Now this is just annoying. "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-02-05 11:46 -0800
csiph-web