Обсуждение: fix entab compile with gcc 3.3.5
entab did not compile for me (cvs head), as gcc 3.3.5 #error's on <varargs.h>. This patch includes <stdarg.h> and also converts arg declaration to ANSI style, because K&R varargs are mystery to me. -- marko
Вложения
This has been saved for the 8.1 release:
http:/momjian.postgresql.org/cgi-bin/pgpatches2
---------------------------------------------------------------------------
Marko Kreen wrote:
>
> entab did not compile for me (cvs head), as
> gcc 3.3.5 #error's on <varargs.h>.
>
> This patch includes <stdarg.h> and also converts
> arg declaration to ANSI style, because K&R varargs
> are mystery to me.
>
> --
> marko
>
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Marko Kreen wrote: > > entab did not compile for me (cvs head), as > gcc 3.3.5 #error's on <varargs.h>. > > This patch includes <stdarg.h> and also converts > arg declaration to ANSI style, because K&R varargs > are mystery to me. Patch applied, with adjustments so it compiles without using c.h. I actually did not lose your original patch. It was still in the patches2 queue to be applied before 8.1. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073