Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 1996 16:01:58 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        cosmos@sponsor.octet.com, hackers@freebsd.org
Subject:   Re: compile prob
Message-ID:  <199601300501.QAA20880@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>From owner-freebsd-hackers@freefall.freebsd.org Tue Jan 30 11:07:01 1996
>Received: from x.physics.usyd.edu.au (x.physics.usyd.edu.au [129.78.129.25]) by godzilla.zeta.org.au (8.6.9/8.6.9) with ESMTP id LAA06188 for <bde@kralizec.zeta.org.au>; Tue, 30 Jan 1996 11:01:45 +1100
>Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [192.216.222.4]) by x.physics.usyd.edu.au (8.6.8/8.6.5) with ESMTP id KAA04617; Tue, 30 Jan 1996 10:59:31 +1100
>Received: from localhost (daemon@localhost)
>          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA26355
>          Mon, 29 Jan 1996 11:55:18 -0800 (PST)
>Received: (from root@localhost)
>          by freefall.freebsd.org (8.7.3/8.7.3) id LAA26313
>          for hackers-outgoing; Mon, 29 Jan 1996 11:54:34 -0800 (PST)
>Received: from sponsor.octet.com (root@sponsor.octet.com [204.141.97.15])
>          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA26307
>          for <hackers@freebsd.org>; Mon, 29 Jan 1996 11:54:27 -0800 (PST)
>Received: (from root@localhost) by sponsor.octet.com (8.6.12/8.6.12) id OAA10645 for hackers@freebsd.org; Mon, 29 Jan 1996 14:40:01 GMT
>From: Daniel Leeds <cosmos@sponsor.octet.com>
>Message-Id: <199601291440.OAA10645@sponsor.octet.com>
>Subject: compile prob
>To: hackers@freebsd.org
>Date: Mon, 29 Jan 1996 14:40:01 +0000 ()
>X-Mailer: ELM [version 2.4 PL24 ME8a]
>Content-Type: text
>Sender: owner-hackers@freebsd.org
>Precedence: bulk
>okay trying to compile a program/pacakge today this huge bomb happened, and 
>it looks like a lot of problems with a header file...

>anyone got any clues about this, or how to fix it?

>***warning****  the error below is long...i am not trying to spam the list! :)


>gcc -D_POSIX_SOURCE  -I/usr/X11R6/include -DMAXARR=20480 -DHDEV=GR_PS_L  -DPS_PRSTR='"lpr -h "'          -DGR_HELPFILE='"ACEgr.html"' -DGR_HELPVIEWER='"Mosaic"'  -c leaf.c
>In file included from /usr/include/ctype.h:51,
>                 from leaf.c:60:
>/usr/include/runetype.h:58: parse error before `rune_t'

<ctype.h> is broken if _POSIX_SOURCE is defined and either of <stddef.h>
or <stdlib.h> is included before <ctype.h>.

Include <ctype.h> first or don;t define _POSIX_SOURCE.  Other things may
break if _POSIX_SOURCE is defined.  Few programs use only POSIX features.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601300501.QAA20880>