GNU bug report logs - #63172
[PATCH cppi] build: avoid a compiler warning about _FORTIFY_SOURCE redefinition

Previous Next

Package: cppi;

Reported by: "Dmitry V. Levin" <ldv <at> altlinux.org>

Date: Sat, 29 Apr 2023 08:11:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Jim Meyering <jim <at> meyering.net>
To: "Dmitry V. Levin" <ldv <at> altlinux.org>
Cc: 63172 <at> debbugs.gnu.org
Subject: bug#63172: [PATCH cppi] build: avoid a compiler warning about _FORTIFY_SOURCE redefinition
Date: Sun, 30 Apr 2023 16:01:40 +0200
On Sat, Apr 29, 2023 at 10:10 AM Dmitry V. Levin <ldv <at> altlinux.org> wrote:
> When compiler provides its own definition of _FORTIFY_SOURCE, it complains
> about _FORTIFY_SOURCE being redefined:
>
> ./lib/config.h:35: error: "_FORTIFY_SOURCE" redefined [-Werror]
>    35 |    # define _FORTIFY_SOURCE 2
>       |
> <built-in>: note: this is the location of the previous definition
>
> * configure.ac (FORTIFY_SOURCE): Do not redefine _FORTIFY_SOURCE.

Thank you. Pushed, along with a few other changes.




This bug report was last modified 2 years and 49 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.