fix entab compile with gcc 3.3.5

Started by Marko Kreenover 21 years ago3 messagespatches
Jump to latest
#1Marko Kreen
markokr@gmail.com

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

Attachments:

entab.difftext/plain; charset=us-asciiDownload+15-15
#2Bruce Momjian
bruce@momjian.us
In reply to: Marko Kreen (#1)
Re: fix entab compile with gcc 3.3.5

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
#3Bruce Momjian
bruce@momjian.us
In reply to: Marko Kreen (#1)
Re: fix entab compile with gcc 3.3.5

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