[vorbis-dev] Compiling ogg123 under powerpc-apple-darwin6.1
Timothy J. Wood
tjw at omnigroup.com
Thu Nov 28 14:33:15 PST 2002
On Thursday, November 28, 2002, at 09:34 AM, rillian wrote:
> On Thursday, November 7, 2002, at 04:43 am, Frederick Wheelock wrote:
>> buffer.c:76: only 1 arg to macro 'DEBUG' (2 expected)
> Looks like your gcc doesn't support variable numbers of arguments to
> macros. As it says in the definition:
> /* Special debugging code. THIS IS NOT PORTABLE! */
> Probably the best fix is to rewrite this as a function. In the
> meantime is there a switch that turns this on in gcc3? (or something
> we're doing to turn it off?)
gcc3 does support this on Mac OS X / Darwin. A couple things to try:
- configure with CC="cc -no-cpp-precomp' to disable the old style
precompiled header support (2.95.x does not understand vararg macros).
- Select gcc3 as your default compiler with:
sudo gcc_select 3
I don't recall whether gcc3 defaults to using old precomps -- I think
not, but neither of these alone fixes the problem, both together
should. I use vararg macros on Mac OS X all the time, so it is
definitely supported :)
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-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 Vorbis-dev