Date: Wed, 06 Oct 1999 11:11:09 +0200 From: Marcel Moolenaar <marcel@scc.nl> To: current@FreeBSD.org Subject: Re: try to build xfree under current siginfo_t Message-ID: <37FB122D.44077CD6@scc.nl> References: <ufzoxwopxy.fsf@jfh00.fernuni-hagen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Fritz Heinrichmeyer wrote: > > as i accidentally deleted my libc.so.3 i thought it would be a good time > to rebuild xfree, but i came in a preprocessor hell due to siginfo_t > _POSIX_SOURCE or not ... definition at the stage of building makedepend. > In file included from main.c:41: > /usr/include/signal.h:72: warning: `union sigval' declared inside parameter \ > list > /usr/include/signal.h:72: warning: its scope is only this definition \ > or declaration, > /usr/include/signal.h:72: warning: which is probably not what you want. > /usr/include/signal.h:72: warning: parameter has incomplete type > /usr/include/signal.h:73: syntax error before `siginfo_t' > /usr/include/signal.h:74: syntax error before `siginfo_t' > > the offending code is between an #ifdef _P1003_1B_VISIBLE > construct. This caused by the recent namespace polution fixes. They were always defined before that, so this was not a problem. I think you should change #ifdef _P1003_1B_VISIBLE into #ifndef _POSIX_SOURCE for now. -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37FB122D.44077CD6>