Sun May 3 16:57:47 WITA 2015
I’ve set my default compiler to GCC 5.1… This week end I decided to rebuild my
installed-packaes w/ it.
And, as expected, I’v faced w/ a bunch of problems.
Here is a one of them:
GCC 5.x has reviewed
-pedantic policy, so
libssh wont compile anymore.
In file included from net-libs-libssh-0.6.4/work/libssh-0.6.4/src/agent.c:53:0: net-libs-libssh-0.6.4/work/libssh-0.6.4/src/agent.c: In function 'ssh_set_agent_channel': net-libs-libssh-0.6.4/work/libssh-0.6.4/include/libssh/priv.h:200:33: error: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] _ssh_set_error(error, code, __FUNCTION__, __VA_ARGS__)
The next problem happened w/
x11-base/xorg-server: here is a bug in Gentoo’s bugzilla, and here is an explanation of the reason
(in section «Preprocessor issues»).
I’ve just copied the patch from the bug to my repo of auto-patches to solve this issue.
blog comments powered by Disqus