Martin Vidner changed bug 1176924
What Removed Added
CC   mvidner@suse.com

Comment # 1 on bug 1176924 from
This should make the yast2-core build warning free. Now this fails:

https://ci.opensuse.org/view/Yast/job/yast-core-werror-master/39/console

[  102s] /bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
-I. -I../..  -I./include -I./include/ycp -I../../liby2/src/include
-I../../liby2util-r/src/include  -DY2LOG=\"libycp\"
-DYAST2DIR=\"/usr/share/YaST2\" -DPLUGINDIR=\"/usr/lib64/YaST2/plugin\"
-DEXECCOMPDIR=\"/usr/lib/YaST2\" -DLOCALEDIR=\"/usr/share/YaST2/locale\"
-DNDEBUG -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type
-flto=auto -Werror -std=gnu++0x -Wall -Wformat=2 -Wno-format-nonliteral -c -o
y2crypt.lo y2crypt.cc
[  102s] libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I./include
-I./include/ycp -I../../liby2/src/include -I../../liby2util-r/src/include
-DY2LOG=\"libycp\" -DYAST2DIR=\"/usr/share/YaST2\"
-DPLUGINDIR=\"/usr/lib64/YaST2/plugin\" -DEXECCOMPDIR=\"/usr/lib/YaST2\"
-DLOCALEDIR=\"/usr/share/YaST2/locale\" -DNDEBUG -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type -flto=auto -Werror -std=gnu++0x
-Wall -Wformat=2 -Wno-format-nonliteral -c y2crypt.cc  -fPIC -DPIC -o
.libs/y2crypt.o
[  102s] y2crypt.cc:71: error: "CRYPT_GENSALT_OUTPUT_SIZE" redefined [-Werror]
[  102s]    71 | #define CRYPT_GENSALT_OUTPUT_SIZE (7 + 22 + 1)
[  102s]       | 
[  102s] In file included from /usr/include/xcrypt.h:23,
[  102s]                  from y2crypt.cc:28:
[  102s] /usr/include/crypt.h:44: note: this is the location of the previous
definition
[  102s]    44 | #define CRYPT_GENSALT_OUTPUT_SIZE 192
[  102s]       | 
[  102s] cc1plus: all warnings being treated as errors
[  102s] make[5]: *** [Makefile:729: y2crypt.lo] Error 1


You are receiving this mail because: