emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MPS: face-cache


From: Eli Zaretskii
Subject: Re: MPS: face-cache
Date: Mon, 29 Apr 2024 16:57:50 +0300

> From: Helmut Eller <eller.helmut@gmail.com>
> Cc: gerd.moellmann@gmail.com,  emacs-devel@gnu.org
> Date: Mon, 29 Apr 2024 15:38:57 +0200
> 
> > Strange, the default for GCC 9.2 is also gnu17.
> 
> I don't even get any warnings for igc.c with --std=gnu99.  With -std=c17
> there are so many errors it doesn't even parse through lisp.h.

The -std=SOMETHING makes no sense in any real-world program, because
many system header files will omit useful declarations and prototypes
when they see that.

> MPS uses: -std=c89 -pedantic  :-)

And it caused me trouble when building it for MinGW, since 'alloca'
was not declared.  I needed to switch to -std=gnu89 instead.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]