RFC: Make builtin types only valid for some target features

2022-12-02 Thread Kewen.Lin via Gcc
Hi, I'm working to find one solution for PR106736, which requires us to make some built-in types only valid for some target features, and emit error messages for the types when the condition isn't satisfied. A straightforward idea is to guard the registry of built-in type under the corresponding

Feature request: Warning when .c file gets #include'd

2022-12-02 Thread Jiří Wolker via Gcc
Hi, I've met a guy that is learning C and got stuck when the linker produced a screenful of messages about that he did something define multiple times. The cause of the problem was trivial: He did ``#include "something.c"'' in his code. In the past, I also did this thing multiple times and

Re: Feature request: Warning when .c file gets #include'd

2022-12-02 Thread Marek Polacek via Gcc
On Fri, Dec 02, 2022 at 03:57:44PM +0100, Jiří Wolker via Gcc wrote: > > Hi, > > I've met a guy that is learning C and got stuck when the linker produced > a screenful of messages about that he did something define multiple > times. The cause of the problem was trivial: > > He did ``#include

Re: Feature request: Warning when .c file gets #include'd

2022-12-02 Thread Jonathan Wakely via Gcc
On Fri, 2 Dec 2022 at 15:47, Marek Polacek wrote: > > On Fri, Dec 02, 2022 at 03:57:44PM +0100, Jiří Wolker via Gcc wrote: > > > > Hi, > > > > I've met a guy that is learning C and got stuck when the linker produced > > a screenful of messages about that he did something define multiple > > times.

RE: Gcc  - Animation Software

2022-12-02 Thread Kathy Wood via Gcc
Hi Gcc, Can you please drop me a note if you caught the email below ? Shall i get back with more info on this ? Awaiting your response, Emma From: Kathy Wood Sent: Thursday, November 17, 2022 6:33 PM To: 'Gcc' Subject: Gcc - Animation Software Importance: High Hi Gcc , I’m email

Re: access to include path in front end

2022-12-02 Thread James K. Lowden
On Thu, 1 Dec 2022 17:14:31 + (UTC) Michael Matz wrote: > > 3. Correct the entries in the default_compilers array. Currently I > > have in cobol/lang-specs.h: > > > > {".cob", "@cobol", 0, 0, 0}, > > {".COB", "@cobol", 0, 0, 0}, > > {".cbl", "@cobol", 0, 0, 0}, > > {".CBL",

gcc-11-20221202 is now available

2022-12-02 Thread GCC Administrator via Gcc
Snapshot gcc-11-20221202 is now available on https://gcc.gnu.org/pub/gcc/snapshots/11-20221202/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 11 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch