Hi, I noticed that if a package is using stdlib.h, then the build will fail on Factory with "E: a implicit-fortify-decl". To show this I have created this package: https://build.opensuse.org/package/show/home:susnux/a
If I read the man page ( https://linux.die.net/man/3/ptsname ), it shows that only _XOPEN_SOURCE is needed for the prototype:
char *ptsname(int fd); But it only works on Factory if _GNU_SOURCE is defined. Do I miss something? Regards, Ferdinand I just want to add: I noticed that on Leap the stdlib.h uses __USE_XOPEN around e.g.
Am 16.03.2017 um 18:42 schrieb Ferdinand Thiessen: ptsname(int) and on Factory it is __USE_XOPEN_EXTENDED. So _XOPEN_SOURCE has to be defined to 500, but I can not find any announcement for this change and glibc seems to be the only libc that requires extended XOPEN, all other libc alternatives only require XOPEN. E.g. musl: http://git.musl-libc.org/cgit/musl/tree/include/stdlib.h -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org