apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@apache.org>
Subject RE: apr from subversion-0.23.0 won't build on solaris 2.8 with Sun compiler
Date Thu, 22 May 2003 10:08:15 GMT
> From: Toby Knudsen [mailto:Toby.Knudsen@RocketSoftware.com]
> 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.

> 2 Error(s) detected.
> make[3]: *** [apr_cpystrn.lo] Error 1
> make[3]: Leaving directory `/home/alameda/tknudsen/subversion-0.23.0/apr/strings'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/alameda/tknudsen/subversion-0.23.0/apr/strings'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/alameda/tknudsen/subversion-0.23.0/apr'
> make: *** [external-all] Error 1
> 
> bash$ echo $CC
> /opt/packages/SUNWspro.6.0.U2/SUNWspro/bin/CC
> bash$ pwd
> /home/alameda/tknudsen/subversion-0.23.0


Sander

Mime
View raw message