bash-2.05a$ make install > /dev/null
In file included from tupdesc.c:22:
../../../../src/include/funcapi.h:69: syntax error before `uint'


Dropping the u works fine.


FreeBSD fury.inquent.com 4.5-RELEASE FreeBSD 4.5-RELEASE #1: Mon Feb  4
13:30:57 EST 2002     root@fury.inquent.com:/usr/obj/usr/src/sys/FURY 
i386

bash-2.05a$ gcc --version
2.95.3







21 Jun 2002 15:26:36 -0400
Rod Taylor <rbt@zort.ca>
funcapi.h:69: syntax error before `uint'
Rod Taylor wrote:
> bash-2.05a$ make install > /dev/null
> In file included from tupdesc.c:22:
> ../../../../src/include/funcapi.h:69: syntax error before `uint'
> 
> 
> Dropping the u works fine.
> 

Sorry, that should have been uint32. Here is a patch.

Joe
Fri, 21 Jun 2002 16:17:39 -0700
Joe Conway <mail@joeconway.com>
Re: [HACKERS] funcapi.h:69: syntax error before `uint'

OK, fixed.  uint changed to uint32.

---------------------------------------------------------------------------

Rod Taylor wrote:
> bash-2.05a$ make install > /dev/null
> In file included from tupdesc.c:22:
> ../../../../src/include/funcapi.h:69: syntax error before `uint'
> 
> 
> Dropping the u works fine.
> 
> 
> FreeBSD fury.inquent.com 4.5-RELEASE FreeBSD 4.5-RELEASE #1: Mon Feb  4
> 13:30:57 EST 2002     root@fury.inquent.com:/usr/obj/usr/src/sys/FURY 
> i386
> 
> bash-2.05a$ gcc --version
> 2.95.3
> 
> 
> 
> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Sat, 22 Jun 2002 00:08:16 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: funcapi.h:69: syntax error before `uint'

Already fixed.  Thanks.

---------------------------------------------------------------------------

Joe Conway wrote:
> Rod Taylor wrote:
> > bash-2.05a$ make install > /dev/null
> > In file included from tupdesc.c:22:
> > ../../../../src/include/funcapi.h:69: syntax error before `uint'
> > 
> > 
> > Dropping the u works fine.
> > 
> 
> Sorry, that should have been uint32. Here is a patch.
> 
> Joe
> 
> 

> Index: src/include/funcapi.h
> ===================================================================
> RCS file: /opt/src/cvs/pgsql/src/include/funcapi.h,v
> retrieving revision 1.1
> diff -c -r1.1 funcapi.h
> *** src/include/funcapi.h	20 Jun 2002 20:39:04 -0000	1.1
> --- src/include/funcapi.h	21 Jun 2002 23:04:00 -0000
> ***************
> *** 66,75 ****
>   typedef struct
>   {
>   	/* Number of times we've been called before */
> ! 	uint			call_cntr;
>   
>   	/* Maximum number of calls */
> ! 	uint			max_calls;
>   
>   	/* pointer to result slot */
>   	TupleTableSlot *slot;
> --- 66,75 ----
>   typedef struct
>   {
>   	/* Number of times we've been called before */
> ! 	uint32			call_cntr;
>   
>   	/* Maximum number of calls */
> ! 	uint32			max_calls;
>   
>   	/* pointer to result slot */
>   	TupleTableSlot *slot;

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Sat, 22 Jun 2002 00:12:54 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: [HACKERS] funcapi.h:69: syntax error before `uint'