It currently looks like all developers are on a platform where USE_LOCALE is defined.

If it is not defined (e.g. on AIX)  I get all sorts of 
Function argument assignment between types "unsigned char*" and "char*" is not allowed.

I gather unsigned char's are only supposed to show up in a USE_LOCALE environment.

backend/util/adt/varlena.c
backend/commands/copy.c
include/utils/builtins.h

Andreas


Mon, 24 Aug 1998 14:54:08 +0200
Andreas Zeugswetter <andreas.zeugswetter@telecom.at>
USE_LOCALE and unsigned char *
> It currently looks like all developers are on a platform where USE_LOCALE is defined.
> 
> If it is not defined (e.g. on AIX)  I get all sorts of 
> Function argument assignment between types "unsigned char*" and "char*" is not allowed.
> 
> I gather unsigned char's are only supposed to show up in a USE_LOCALE environment.
> 
> backend/util/adt/varlena.c
> backend/commands/copy.c
> include/utils/builtins.h
> 
> Andreas




I #ifdef USE_LOCALE around varlena.c, but I don't see the other ones. 
Send in some patches, OK?

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

Wed, 2 Sep 1998 19:18:26 -0400 (EDT)
Bruce Momjian <maillist@candle.pha.pa.us>
Re: [HACKERS] USE_LOCALE and unsigned char *
At 7:18 PM 98.9.2 -0400, Bruce Momjian wrote:
>> It currently looks like all developers are on a platform where USE_LOCALE is
>>defined.
>> 
>> If it is not defined (e.g. on AIX)  I get all sorts of 
>> Function argument assignment between types "unsigned char*" and "char*" is
>>not allowed.
>> 
>> I gather unsigned char's are only supposed to show up in a USE_LOCALE
>>environment.
>> 
>> backend/util/adt/varlena.c
>> backend/commands/copy.c
>> include/utils/builtins.h
>> 
>> Andreas
>
>
>
>
>I #ifdef USE_LOCALE around varlena.c, but I don't see the other ones. 
>Send in some patches, OK?

I think I am responsible of some of "unisigned char problems."
I will look into these as soon as I confirm Bruce's fix works
for LinuxPPC. Ok?

--
Tatsuo Ishii
t-ishii@sra.co.jp


Thu, 3 Sep 1998 09:37:03 +0900
t-ishii@sra.co.jp (Tatsuo Ishii)
Re: [HACKERS] USE_LOCALE and unsigned char *
> >> It currently looks like all developers are on a platform where 
> >> USE_LOCALE is defined.
> >> If it is not defined (e.g. on AIX)  I get all sorts of
> >> Function argument assignment between types "unsigned char*" and 
> >> "char*" is not allowed.
> I think I am responsible of some of "unisigned char problems."
> I will look into these as soon as I confirm Bruce's fix works
> for LinuxPPC. Ok?

fwiw, gcc seems much more tolerant of this. I never compile with the
USE_LOCALE features (unless trying to debug timezone complaints :) and
my builds don't barf^H^H^H^Hfail.

                   - Tom

Thu, 03 Sep 1998 02:52:48 +0000
"Thomas G. Lockhart" <lockhart@alumni.caltech.edu>
Re: [HACKERS] USE_LOCALE and unsigned char *
>>> It currently looks like all developers are on a platform where USE_LOCALE is
>>>defined.
>>> 
>>> If it is not defined (e.g. on AIX)  I get all sorts of 
>>> Function argument assignment between types "unsigned char*" and "char*" is
>>>not allowed.
>>> 
>>> I gather unsigned char's are only supposed to show up in a USE_LOCALE
>>>environment.
>>> 
>>> backend/util/adt/varlena.c
>>> backend/commands/copy.c
>>> include/utils/builtins.h
>>> 
>>> Andreas
>>
>>
>>
>>
>>I #ifdef USE_LOCALE around varlena.c, but I don't see the other ones. 
>>Send in some patches, OK?
>
>I think I am responsible of some of "unisigned char problems."
>I will look into these as soon as I confirm Bruce's fix works
>for LinuxPPC. Ok?

I looked into above three files. So far I couldn't find any problem
with them. maybe I should look for another file?
--
Tatsuo Ishii
t-ishii@sra.co.jp

Thu, 03 Sep 1998 18:17:50 +0900
Tatsuo Ishii <t-ishii@sra.co.jp>
Re: [HACKERS] USE_LOCALE and unsigned char * 