Thread: Cannot compile CVS current on Mac OS X 10.2.6

Cannot compile CVS current on Mac OS X 10.2.6

From
Kenji Sugita
Date:
Attached is compilation error messages of current CVS:

gcc -traditional-cpp -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include   -c -o pqcomm.o
pqcomm.c
pqcomm.c: In function `StreamServerPort':
pqcomm.c:280: parse error before '<<' token
pqcomm.c:291: case label not within a switch statement
pqcomm.c:296: case label not within a switch statement
pqcomm.c:300: `default' label not within a switch statement
pqcomm.c:309: parse error before '>>' token
pqcomm.c:208: warning: unused variable `err'
pqcomm.c:209: warning: unused variable `maxconn'
pqcomm.c:210: warning: unused variable `one'

Re: Cannot compile CVS current on Mac OS X 10.2.6

From
Andreas Pflug
Date:
Kenji Sugita wrote:

>Attached is compilation error messages of current CVS:
>
>gcc -traditional-cpp -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include   -c -o pqcomm.o
pqcomm.c
>pqcomm.c: In function `StreamServerPort':
>pqcomm.c:280: parse error before '<<' token
>pqcomm.c:291: case label not within a switch statement
>pqcomm.c:296: case label not within a switch statement
>pqcomm.c:300: `default' label not within a switch statement
>pqcomm.c:309: parse error before '>>' token
>pqcomm.c:208: warning: unused variable `err'
>pqcomm.c:209: warning: unused variable `maxconn'
>pqcomm.c:210: warning: unused variable `one'
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>
>
Looks like a cvs conflict because you changed something in pqcomm.c.
Remove pqcomm* and cvs update again.

Regards,
Andreas