[BUG] default CXXFLAGS on powerpc

Keri Harris keri at gentoo.org
Tue Jul 1 09:40:18 CEST 2008


On Mon, 30 Jun 2008 19:34:36 Raphael Collet wrote:
> Thanks a lot, Keri.  I just checked in (a close variant of) your fix.

We're almost there. ;-)

Yesterday I remarked that I had to patch the argument to gf_char2integer(). 
Otherwise a compile on ppc will fail with:

g++ -mtune=powerpc -DBIG_ENDIAN_HOST -O3 -fomit-frame-pointer
-funsigned-char -I. -I./include -fno-exceptions -Winline -Weffc++ -Wall
-Wold-style-cast -Woverloaded-virtual -Wshadow   -c -o msl_crypto.o
../src/msl_crypto.cc
../src/msl_crypto.cc: In member function 'void 
_msl_internal::MD5::transform(BYTE*)':
../src/msl_crypto.cc:938: error: invalid conversion from 'unsigned char' 
to 'BYTE*'
../src/msl_crypto.cc:938: error:   initializing argument 1 of 'u32 
gf_char2integer(BYTE*)'

Keri


More information about the mozart-hackers mailing list