]> Savannah Git Hosting - gnulib.git/commit
error: Support the compiler's control flow analysis better.
authorBruno Haible <bruno@clisp.org>
Sat, 27 May 2023 20:39:59 +0000 (22:39 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 27 May 2023 20:39:59 +0000 (22:39 +0200)
commit752f97e9afb770ea3cb6017d0b8e52600b045d6a
treef3cfdfdde8e7cf572940b198209913ea51bb4245
parent4ca39f72e42d04184a97ac28d284a3039723e76e
error: Support the compiler's control flow analysis better.

* lib/error.in.h: Remove @PRAGMA_SYSTEM_HEADER@. Include <stdlib.h>.
(error): Define as a macro that explicitly invokes exit().
(error_at_line): Likewise.
* lib/error.c (_GL_NO_INLINE_ERROR): Define before including error.h.
* modules/error-h (configure.ac): Don't invoke gl_CONDITIONAL_HEADER.
(Makefile.am): Generate error.h always. Don't substitute
PRAGMA_SYSTEM_HEADER.
* m4/error_h.m4 (gl_ERROR_H): Set COMPILE_ERROR_C instead of
GL_GENERATE_ERROR_H.
* modules/error (configure.ac, Depends-on): Test COMPILE_ERROR_C instead
of GL_GENERATE_ERROR_H.
* lib/copy-file.c: Revert the last change.
ChangeLog
lib/copy-file.c
lib/error.c
lib/error.in.h
m4/error_h.m4
modules/error
modules/error-h