Paul Eggert <address@hidden
> schrieb am Do., 15. Juni 2017 um 22:33 Uhr:
On 06/15/2017 12:20 PM, Philipp Stephani wrote:
> we might even compile emacs-modules.c as C++ unconditionally. I guess
> by now every system that has a C compiler and supports shared
> libraries also has a C++ compiler.
Although C++ compilers may be available, they (or their libraries) are
not necessarily installed properly, and this can be a problem at runtime
as well as at compile-time. So it may be better to stick with C if it works.
OK, let's keep the code as is for now; once we find a platform that causes problems, we can reevaluate the options.
> (i.e. this doesn't even need --enable-gcc-warnings)
Ah, that's key. Although 'configure' suppresses that false alarm if
--enable-gcc-warnings is specified, it also needs to suppress it when
--enable-gcc-warnings is *not* specified. I installed the attached,
which I hope fixes the warnings that were annoying you (assuming we are
not using -save-temps, which is a reasonable assumption).