-
Notifications
You must be signed in to change notification settings - Fork 142
Description
building sys-cluster/torque-6.0.4-r1 on gentoo gives me:
requests.c: In function ‘void req_signaljob(batch_request*)’:
requests.c:2101:35: error: local external declaration ‘sig_tbl sig_tbl []’ [-fpermissive]
extern struct sig_tbl sig_tbl[];
^
In file included from requests.c:108:
../../src/include/mom_func.h:109:8: note: does not match previous declaration ‘struct sig_tbl’
struct sig_tbl
^~~~~~~
see also #454
while compiling further I also got same error in mom_main.c:3498:33 at const char* find_signal_name(int)
and there's also an error in mom_main.c:1067:13
name[i] = '\0';
^~~~
in char* conf_res(char*, rm_attribute*)
(I think '\0' should be NULL or something.)
all these errors are avoided by adding -fpermissive into my cflags for this package...