Sander Striker wrote:

>>From: Toby Knudsen [mailto:[EMAIL PROTECTED]
>>Sent: Tuesday, May 20, 2003 11:48 PM
>>    
>>
>
>  
>
>>I'm leaving town shortly, hope this tip was sufficient.         Toby
>>
>>/bin/ksh /home/alameda/tknudsen/subversion-0.23.0/apr/libtool --silent 
>>--mode=compile 
>>/opt/packages/SUNWspro.6.0.U2/SUNWspro/bin/CC -g -mt   -DHAVE_CONFIG_H 
>>-DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS 
>>-D_REENTRANT   -I../include -I../include/arch/unix  -c apr_cpystrn.c && touch 
>>apr_cpystrn.lo
>>"apr_cpystrn.c", line 206: Error: Cannot assign void* to char**.
>>"apr_cpystrn.c", line 213: Error: Cannot assign void* to char*.
>>    
>>
>
>?? This is a problem with your compiler.  void * should be allowed to be 
>assigned to
>any pointer without casting.  We use this pattern everywhere, including in 
>subversion.
>  
>
No, in this case problem exists between keyboard and chair -- he's using
CC, wich is the C++ compiler, not the C compiler. And indeed, in C++ it
is forbidden to assign void* to anything else without a cast.

-- 
Brane Äibej   <[EMAIL PROTECTED]>   http://www.xbc.nu/brane/

Reply via email to