[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-cppi] bug#63172: [PATCH cppi] build: avoid a compiler warning about
From: |
Jim Meyering |
Subject: |
[bug-cppi] 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@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.