From owner-freebsd-current Mon Jul 8 5:46:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6863737B401; Mon, 8 Jul 2002 05:46:05 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAB7243E09; Mon, 8 Jul 2002 05:46:04 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.5/8.12.5) with ESMTP id g68Cjvwr000350; Mon, 8 Jul 2002 05:46:01 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200207081246.g68Cjvwr000350@gw.catspoiler.org> Date: Mon, 8 Jul 2002 05:45:57 -0700 (PDT) From: Don Lewis Subject: struct stat and _POSIX_SOURCE To: current@FreeBSD.org, bde@FreeBSD.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Building OpenOffice is broken in -current because of a problem in . If _POSIX_SOURCE is defined, does not #include to get the definition of struct timespec, and it substitutes alternate structure members for the struct timespec members. Unfortunately it still attempts to pad the structure with bit fields whose width is relies on the definition of struct timespec. Making: ../unxfbsd.pro/obj/cppsetup.obj gcc31 -w -c -I. -I. -I../inc -I../inc -I../unx/inc -I../unxfbsd.pro/inc -I. -I/usr/ports/editors/openoffice/work/oo_1.0_src/solver/641/unxfbsd.pro/inc/dont_use_stl -I/usr/ports/editors/openoffice/work/oo_1.0_src/solver/641/unxfbsd.pro/inc/external -I/usr/ports/editors/openoffice/work/oo_1.0_src/solver/641/unxfbsd.pro/inc -I/usr/ports/editors/openoffice/work/oo_1.0_src/solenv/unxfbsd/inc -I/usr/ports/editors/openoffice/work/oo_1.0_src/solenv/inc -I/usr/ports/editors/openoffice/work/oo_1.0_src/res -I/usr/include -I/usr/ports/editors/openoffice/work/oo_1.0_src/solver/641/unxfbsd.pro/inc/dont_use_stl -I/usr/ports/editors/openoffice/work/oo_1.0_src/solenv/inc/Xp31 -I/usr/local/jdk1.3.1/include -I/usr/local/jdk1.3.1/include/freebsd -I/usr/local/jdk1.3.1/include/green_threads/include -I/usr/X11R6/include -I/lib/gcc-lib/i386-portbld-freebsd5.0/3.1.1/include -I/usr/include -I. -I../res -I. -I/usr/ports/editors/openoffice/work/oo_1.0_src/solenv/unxfbsdi/usr/include -I/usr/X11R6/in! clude -O -pipe -fPIC -DFREEBSD -DUNX -DVCL -DGCC -DC300 -DINTEL -DCVER=C300 -D_USE_NAMESPACE -D_USE_NAMESPACE=1 -DX86 -DNEW_SOLAR -DSTLPORT_VERSION=400 -DOSVERSION=500037 -D_THREAD_SAFE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=641 -DBUILD=7663 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DSRC641 -DNO_X11 -DXP_PC -DHW_THREADS -DINCLUDEDIR=\".\" -DSINGLETHREAD -o ../unxfbsd.pro/obj/cppsetup.o cppsetup.c In file included from def.h:50, from cppsetup.c:29: /usr/include/sys/stat.h:127: sizeof applied to an incomplete type /usr/include/sys/stat.h:128: sizeof applied to an incomplete type dmake: Error code 1, while making '../unxfbsd.pro/obj/cppsetup.obj' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message