From owner-freebsd-current Wed Oct 6 2:36:55 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id AF8CF14CB9 for ; Wed, 6 Oct 1999 02:36:50 -0700 (PDT) (envelope-from freebsd-current@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id LAA83258 for current@FreeBSD.org; Wed, 6 Oct 1999 11:11:16 +0200 (CEST) (envelope-from freebsd-current@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for current@FreeBSD.org (current@FreeBSD.org) To: current@FreeBSD.org Date: Wed, 06 Oct 1999 11:11:09 +0200 From: Marcel Moolenaar Message-ID: <37FB122D.44077CD6@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: Subject: Re: try to build xfree under current siginfo_t Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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