Re: Request for supported platforms - Mailing list pgsql-hackers

From Doug McNaught
Subject Re: Request for supported platforms
Date
Msg-id m3adl1jid7.fsf@varsoon.wireboard.com
Whole thread Raw
In response to Request for supported platforms  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Request for supported platforms
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Bruce Momjian <pgman@candle.pha.pa.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@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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: UnixWare 7.1.3 (BETA), C99 compiler, current CVS, error...
Next
From: Tom Lane
Date:
Subject: Re: Request for supported platforms