Adrian Bunk
2017-07-16 23:48:27 UTC
Source: le
Version: 1.16.3-1
Severity: serious
Tags: buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/le.html
...
gcc -DHAVE_CONFIG_H -I. -I../lib -I../lib -I../lib -I/usr/include/ncursesw -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -c -o color.o color.cc
color.cc: In function 'int find_pair(int, int)':
color.cc:36:12: error: 'int find_pair(int, int)' was declared 'extern' and later 'static' [-fpermissive]
static int find_pair(int fg,int bg)
^~~~~~~~~
In file included from edit.h:36:0,
from color.cc:27:
/usr/include/ncursesw/curses.h:924:28: note: previous declaration of 'int find_pair(int, int)'
extern NCURSES_EXPORT(int) find_pair (int, int);
^~~~~~~~~
Makefile:1299: recipe for target 'color.o' failed
make[3]: *** [color.o] Error 1
Version: 1.16.3-1
Severity: serious
Tags: buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/le.html
...
gcc -DHAVE_CONFIG_H -I. -I../lib -I../lib -I../lib -I/usr/include/ncursesw -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -c -o color.o color.cc
color.cc: In function 'int find_pair(int, int)':
color.cc:36:12: error: 'int find_pair(int, int)' was declared 'extern' and later 'static' [-fpermissive]
static int find_pair(int fg,int bg)
^~~~~~~~~
In file included from edit.h:36:0,
from color.cc:27:
/usr/include/ncursesw/curses.h:924:28: note: previous declaration of 'int find_pair(int, int)'
extern NCURSES_EXPORT(int) find_pair (int, int);
^~~~~~~~~
Makefile:1299: recipe for target 'color.o' failed
make[3]: *** [color.o] Error 1