[icecast] Build problems with libshout on Mac OS X 10.2

Zachary Hamm zsh at squeamish.org
Fri Jun 13 19:55:31 UTC 2003



FYI,

For anyone trying to build libshout on Mac OS X 10.2 and having 
problems change line 16 of
encode.c from:

const char urlencstring[16] = "0123456789abcdef";

to

const char urlencstring[16] = { '0', '1', '2', '3', '4', '5', '6', '7', 
'8', '9', 'a', 'b', 'c', 'd', 'e', 'f' };

Apparently Apple's gcc (or maybe its just gcc 3.1) (stupidly) has 
issues with literal strings without \0 terminators.

Just thought this might interest someone...


--
Zachary Hamm
zsh at squeamish.org

--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Icecast mailing list