Re: Request for supported platforms

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Request for supported platforms
Date: 2002-10-26 16:05:24
Message-ID: m3adl1jid7.fsf@varsoon.wireboard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Folks. start sending in those plaform reports, OS name and version
> > number please.
>
> I've checked CVS tip on:
> HPUX 10.20, using both gcc and vendor's cc
> PPC Linux
> Mac OS X 10.1

I get the following on Linux/Sparc, Debian 3.0:

make[3]: Entering directory `/home/doug/src/pgsql/src/backend/utils/mb/conversion_procs/ascii_and_mic'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic
-I../../../../../../src/include -c -o ascii_and_mic.o
ascii_and_mic.c
ascii_and_mic.c:19: syntax error before `extern'
ascii_and_mic.c:21: syntax error before `extern'
make[3]: *** [ascii_and_mic.o] Error 1
make[3]: Leaving directory `/home/doug/src/pgsql/src/backend/utils/mb/conversion_procs/ascii_and_mic'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/doug/src/pgsql/src/backend/utils/mb/conversion_procs'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/doug/src/pgsql/src'
make: *** [all] Error 2

My gcc version:

doug(at)varsoon:~/src/pgsql$ gcc -v
Reading specs from /usr/lib/gcc-lib/sparc-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

This is CVS tip as of about 11:30 EST Saturday.

Looking into it, we have in ascii_and_mic.c:

PG_FUNCTION_INFO_V1(ascii_to_mic)
PG_FUNCTION_INFO_V1(mic_to_ascii)

Putting a semicolon after each such line fixes that compile, but there
are other files under conversion_procs with the same problem. Is my
gcc not expanding the macro properly?

-Doug

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-10-26 17:12:49 Re: Request for supported platforms
Previous Message Tom Lane 2002-10-26 15:30:55 Re: UnixWare 7.1.3 (BETA), C99 compiler, current CVS, error...