Project

General

Profile

Actions

Bug #6820

open

libhtp: compile warning if libhtp is bundled

Added by Victor Julien 10 months ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

make[4]: Entering directory '/suricata/libhtp/htp/lzma'
/bin/bash ../../libtool  --tag=CC   --mode=compile /usr/share/clang/scan-build-18/bin/../libexec/ccc-analyzer -DHAVE_CONFIG_H -I. -I../..   -O2 -I../.. -D_GNU_SOURCE -g -Wall -Wextra -std=gnu99 -pedantic -Wextra -Wno-missing-field-initializers -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-unused-parameter -O2 -Wstrict-overflow=1 -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -fPIC -MT LzFind.lo -MD -MP -MF .deps/LzFind.Tpo -c -o LzFind.lo LzFind.c
libtool: compile:  /usr/share/clang/scan-build-18/bin/../libexec/ccc-analyzer -DHAVE_CONFIG_H -I. -I../.. -O2 -I../.. -D_GNU_SOURCE -g -Wall -Wextra -std=gnu99 -pedantic -Wextra -Wno-missing-field-initializers -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-unused-parameter -O2 -Wstrict-overflow=1 -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -fPIC -MT LzFind.lo -MD -MP -MF .deps/LzFind.Tpo -c LzFind.c  -fPIC -DPIC -o .libs/LzFind.o
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition

clang-18 on ubuntu 24.04 dev (docker)
Actions #1

Updated by Victor Julien 10 months ago

Possible workaround (or hack) https://github.com/neovim/neovim/issues/2557

Actions

Also available in: Atom PDF