Re: [PATCH] fontmisc.h

Marc Aurele La France <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
On Fri, 28 Jan 2005, Jeff Chua wrote:

> The latest CVS can't compile bdfread.c
> Attached is a patch to make it work on gcc version 2.95.3 20010315.

> gcc -c -ansi -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
> -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef 
> -I../../../include/fonts -I../include -I../../.. -I../../../exports/include 
> -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE 
> -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO 
> -DBDFFORMAT -DPCFFORMAT -DSNFFORMAT  -O2 -fno-strength-reduce   bdfread.c -o 
> unshared/bdfread.o
> ...
> bdfread.c:482: parse error before `;'
> bdfread.c:291: label `BAILOUT' used but not defined
> bdfread.c: At top level:
> bdfread.c:490: parse error before `->'
> bdfread.c:491: warning: type defaults to `int' in declaration of `i'
> bdfread.c:491: warning: data definition has no type or storage class
> bdfread.c:492: parse error before `for'
> bdfread.c:512: parse error before `->'
> make[4]: *** [bdfread.o] Error 1
> make[4]: Leaving directory `/v6/src2/xfree86/xc/lib/font/bitmap'

I've already fixed that.  You should probably subscribe to cvs-commit.

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Computing and Network Services  |  fax:    1-780-492-1729           |
|  352 General Services Building   |  email:  [email protected]          |
|  University of Alberta           +-----------------------------------+
|  Edmonton, Alberta               |                                   |
|  T6G 2H1                         |     Standard disclaimers apply    |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 developer and VP.  ATI driver and X server internals.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.