UnixWare 7.1.3 (BETA), compile error (with cc -Xb) - Mailing list pgsql-hackers

From Larry Rosenman
Subject UnixWare 7.1.3 (BETA), compile error (with cc -Xb)
Date
Msg-id 1035644195.432.7.camel@lerlaptop.lerctr.org
Whole thread Raw
Responses Re: UnixWare 7.1.3 (BETA), compile error (with cc -Xb)
List pgsql-hackers
With cc -Xb, we get farther, but still die.... (CURRENT CVS):

cc -Xb  -O -g -K PIC -I../../../../../../src/include -I/usr/local/include  -c -o ascii_and_mic.o ascii_and_mic.c
UX:cc: WARNING: debugging and optimization mutually exclusive; -O disabled
UX:acomp: ERROR: "ascii_and_mic.c", line 19: syntax error, probably missing ",", ";" or "="
UX:acomp: ERROR: "ascii_and_mic.c", line 19: only "register" valid as formal parameter storage class
UX:acomp: ERROR: "ascii_and_mic.c", line 19: parameter not in identifier list: pg_finfo_mic_to_ascii
UX:acomp: ERROR: "ascii_and_mic.c", line 19: parameter not in identifier list: pg_finfo_mic_to_ascii
UX:acomp: ERROR: "ascii_and_mic.c", line 19: Syntax error before or at: {
UX:acomp: ERROR: "ascii_and_mic.c", line 19: only "register" valid as formal parameter storage class
UX:acomp: ERROR: "ascii_and_mic.c", line 19: parameter not in identifier list: my_finfo
UX:acomp: ERROR: "ascii_and_mic.c", line 19: cannot initialize parameter: my_finfo
UX:acomp: WARNING: "ascii_and_mic.c", line 19: statement not reached
UX:acomp: ERROR: "ascii_and_mic.c", line 19: Syntax error before or at: return
UX:acomp: ERROR: "ascii_and_mic.c", line 19: parameter not in identifier list: my_finfo
UX:acomp: ERROR: "ascii_and_mic.c", line 19: only "register" valid as formal parameter storage class
UX:acomp: ERROR: "ascii_and_mic.c", line 21: parameter not in identifier list: no_such_variable
UX:acomp: ERROR: "ascii_and_mic.c", line 21: only "register" valid as formal parameter storage class
UX:acomp: ERROR: "ascii_and_mic.c", line 21: parameter not in identifier list: ascii_to_mic
UX:acomp: ERROR: "ascii_and_mic.c", line 22: only "register" valid as formal parameter storage class
UX:acomp: ERROR: "ascii_and_mic.c", line 22: parameter not in identifier list: mic_to_ascii
UX:acomp: ERROR: "ascii_and_mic.c", line 37: parameter not in identifier list: ascii_to_mic
UX:acomp: ERROR: "ascii_and_mic.c", line 37: Syntax error before or at: {
UX:acomp: ERROR: "ascii_and_mic.c", line 38: parameter not in identifier list: src
UX:acomp: ERROR: "ascii_and_mic.c", line 38: cannot initialize parameter: src
UX:acomp: ERROR: "ascii_and_mic.c", line 38: undefined symbol: fcinfo
UX:acomp: ERROR: "ascii_and_mic.c", line 38: left operand of "->" must be pointer to struct/union
UX:acomp: WARNING: "ascii_and_mic.c", line 38: assignment type mismatch
UX:acomp: ERROR: "ascii_and_mic.c", line 39: parameter not in identifier list: dest
UX:acomp: ERROR: "ascii_and_mic.c", line 39: cannot initialize parameter: dest
UX:acomp: ERROR: "ascii_and_mic.c", line 39: left operand of "->" must be pointer to struct/union
UX:acomp: WARNING: "ascii_and_mic.c", line 39: assignment type mismatch
UX:acomp: ERROR: "ascii_and_mic.c", line 40: parameter not in identifier list: len
UX:acomp: ERROR: "ascii_and_mic.c", line 40: cannot initialize parameter: len
UX:acomp: ERROR: "ascii_and_mic.c", line 40: left operand of "->" must be pointer to struct/union
UX:acomp: ERROR: "ascii_and_mic.c", line 42: Syntax error before or at: do
UX:acomp: ERROR: "ascii_and_mic.c", line 42: Syntax error before or at: &&
UX:acomp: ERROR: "ascii_and_mic.c", line 42: Syntax error before or at: (
UX:acomp: ERROR: "ascii_and_mic.c", line 42: function cannot return function or array
UX:acomp: ERROR: "ascii_and_mic.c", line 42: parameter not in identifier list: int32
UX:acomp: ERROR: "ascii_and_mic.c", line 42: Syntax error before or at: &
UX:acomp: ERROR: "ascii_and_mic.c", line 42: parameter not in identifier list: PG_SQL_ASCII
UX:acomp: ERROR: "ascii_and_mic.c", line 42: parameter not in identifier list: ExceptionalCondition
UX:acomp: WARNING: "ascii_and_mic.c", line 42: syntax error:  empty declaration
UX:acomp: WARNING: "ascii_and_mic.c", line 42: syntax error:  empty declaration
UX:acomp: ERROR: "ascii_and_mic.c", line 43: Syntax error before or at: &&
UX:acomp: ERROR: "ascii_and_mic.c", line 43: Syntax error before or at: (
UX:acomp: ERROR: "ascii_and_mic.c", line 43: function cannot return function or array
UX:acomp: ERROR: "ascii_and_mic.c", line 43: parameter not in identifier list: int32
UX:acomp: ERROR: "ascii_and_mic.c", line 43: Syntax error before or at: &
UX:acomp: ERROR: "ascii_and_mic.c", line 43: parameter not in identifier list: PG_MULE_INTERNAL
UX:acomp: ERROR: "ascii_and_mic.c", line 43: parameter not in identifier list: ExceptionalCondition
UX:acomp: WARNING: "ascii_and_mic.c", line 43: syntax error:  empty declaration
UX:acomp: WARNING: "ascii_and_mic.c", line 43: syntax error:  empty declaration
UX:acomp: ERROR: "ascii_and_mic.c", line 44: Syntax error before or at: &&
UX:acomp: ERROR: "ascii_and_mic.c", line 44: parameter not in identifier list: ExceptionalCondition
UX:acomp: WARNING: "ascii_and_mic.c", line 44: syntax error:  empty declaration
UX:acomp: WARNING: "ascii_and_mic.c", line 44: syntax error:  empty declaration
UX:acomp: WARNING: "ascii_and_mic.c", line 46: function prototype parameters must have types
UX:acomp: ERROR: "ascii_and_mic.c", line 46: parameter not in identifier list: pg_ascii2mic
UX:acomp: ERROR: "ascii_and_mic.c", line 48: Syntax error before or at: return
UX:acomp: ERROR: "ascii_and_mic.c", line 48: parameter not in identifier list: Datum
UX:acomp: ERROR: "ascii_and_mic.c", line 48: Syntax error before or at: 0
UX:acomp: WARNING: "ascii_and_mic.c", line 48: syntax error:  empty declaration
UX:acomp: ERROR: "ascii_and_mic.c", line 52: parameter not in identifier list: Datum
UX:acomp: ERROR: "ascii_and_mic.c", line 53: parameter not in identifier list: mic_to_ascii
UX:acomp: ERROR: "ascii_and_mic.c", line 54: parameter not in identifier list: src
UX:acomp: ERROR: "ascii_and_mic.c", line 54: cannot initialize parameter: src
UX:acomp: ERROR: "ascii_and_mic.c", line 54: left operand of "->" must be pointer to struct/union
UX:acomp: WARNING: "ascii_and_mic.c", line 54: assignment type mismatch
UX:acomp: ERROR: "ascii_and_mic.c", line 55: parameter not in identifier list: dest
UX:acomp: ERROR: "ascii_and_mic.c", line 55: cannot initialize parameter: dest
UX:acomp: ERROR: "ascii_and_mic.c", line 55: left operand of "->" must be pointer to struct/union
UX:acomp: WARNING: "ascii_and_mic.c", line 55: assignment type mismatch
UX:acomp: ERROR: "ascii_and_mic.c", line 56: parameter not in identifier list: len
UX:acomp: ERROR: "ascii_and_mic.c", line 56: cannot initialize parameter: len
UX:acomp: ERROR: "ascii_and_mic.c", line 56: left operand of "->" must be pointer to struct/union
UX:acomp: ERROR: "ascii_and_mic.c", line 56: function designator is not of function type
UX:acomp: ERROR: "ascii_and_mic.c", line 56: operands must have integral type: op "&"
UX:acomp: ERROR: "ascii_and_mic.c", line 58: left operand of "->" must be pointer to struct/union
UX:acomp: ERROR: "ascii_and_mic.c", line 58: function designator is not of function type
UX:acomp: ERROR: "ascii_and_mic.c", line 58: operands must have integral type: op "&"
UX:acomp: ERROR: "ascii_and_mic.c", line 59: left operand of "->" must be pointer to struct/union
UX:acomp: ERROR: "ascii_and_mic.c", line 59: function designator is not of function type
UX:acomp: ERROR: "ascii_and_mic.c", line 59: operands must have integral type: op "&"
UX:acomp: ERROR: "ascii_and_mic.c", line 64: Syntax error before or at: 0
UX:acomp: ERROR: "ascii_and_mic.c", line 65: cannot recover from previous errors
gmake[3]: *** [ascii_and_mic.o] Error 1
gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils/mb/conversion_procs/ascii_and_mic'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils/mb/conversion_procs'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/ler/pg-dev/pgsql/src'
gmake: *** [all] Error 2
-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749



pgsql-hackers by date:

Previous
From: Larry Rosenman
Date:
Subject: UnixWare 7.1.3 (BETA), C99 compiler, current CVS, error...
Next
From: Tom Lane
Date:
Subject: Re: UnixWare 7.1.3 (BETA), C99 compiler, current CVS, error...