libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ltdl.c and 1.4.1 (type conflicts)


From: Tim Mooney
Subject: Re: ltdl.c and 1.4.1 (type conflicts)
Date: Fri, 7 Sep 2001 14:45:11 -0500 (CDT)

In regard to: Re: ltdl.c and 1.4.1 (type conflicts), address@hidden:

>On Fri, Sep 07, 2001 at 12:43:31AM +0100, Gary V. Vaughan wrote:
>> On Wed, Sep 05, 2001 at 09:52:10PM -0500, address@hidden wrote:
>> >
>> > Harder to fix is:
>> > "ltdl.c", line 3204.58: 1506-280 (E) Function argument assignment
>> > between types "void*" and "int(*)(const char*,void*)" is not allowed.
>>
>> Oh yuck!  Are there any mode switches to xlc to have it accept this
>> ideom?
>
>AIX does accept it. However, ltdl.c is treating pointers and pointers
>to functions the same (hence my statement that it makes liberal use of
>pointers).

As Albert can probably verify, most of the other vendor compilers also warn
about this very problem, but all the ones I've seen accept it grudgingly
(i.e. it's not an error).

Tim
-- 
Tim Mooney                              address@hidden
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164




reply via email to

[Prev in Thread] Current Thread [Next in Thread]