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

Re: [sc-dev] [Linux] Cause of segfault?

On Dec 15, 2003, at 1:53 PM, Arve Knudsen wrote:

Before making any changes I decided to see if CVS had been updated in the meantime, and indeed it had. Thanks! But I noticed some funny parameter values, and tracked it down to writeFloat_be in headers/lang/ReadWriteMacros.h. There's a preprocessor check if BIG_ENDIAN is defined, which it is, so floats get written in native byte order. This can't be right can it?

You're right this should be:


otherwise it is always true.

--- james mccartney   james@xxxxxxxxxxxxxx   <http://www.audiosynth.com>
SuperCollider - a real time audio synthesis programming language