[CMake] SEGV and signal BUS with cmake-2.8.11 on Solaris 10

Sean McBride sean at rogue-research.com
Wed May 22 17:00:32 EDT 2013


On Wed, 22 May 2013 16:43:21 -0400, Bill Hoffman said:

>Anybody have suggestions for a fix?   This code was taken from here:
>http://www.aarongifford.com/computers/sha.html
>
>Is there a way to get a struct like that to align correctly?  Maybe make 
>it a union with something that is the same number of bytes in 64 bit types?

memcpy().  (And compilers these days often optimize well-known functions like memcpy().)

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the CMake mailing list