[vorbis-dev] vorbis won't compile as a Framework

Elifarley C.Coelho elifarley at task.com.br
Sat Oct 27 19:44:35 PDT 2001



When I tried to compile the vorbis module as a Framework, using 
ProjectBuilder, I got 1058 warnings (excess elements in scalar 
initializer, near initialization for ''psy_set0.toneatt', 'vorbis_ftoi' 
defined but not used, unused variable 'k', braces around scalar 
initializer, and so on) and 65 errors.

Some examples of errors:

-------
vorbis/lib/psytune.c: undefined type, found 'vp_part':
static vp_part _vp_part0[]={
   {    1,9e10f, 9e10f,       1.f,9999.f},
   { 9999,  .75f, 9e10f,       .5f,9999.f},
/*{ 9999, 1.5f, 9e10f,       .5f,9999.f},*/
   {   18,9e10f, 9e10f,       .5f,  30.f},
   { 9999,9e10f, 9e10f,       .5f,  30.f}
};
-------
vorbis/lib/psytune.c: extra brace group at end of initializer
vorbis/lib/psytune.c: (near initialization for '_vp_couple0[0]')

tatic vp_couple _vp_couple0[]={
   {    1,  {9e10f,9e10f,0}, {   0.f,   0.f,0}, {   0.f, 0.f,0}, 
{0.f,0.f,0}},
   {   18,  {9e10f,9e10f,0}, {   0.f,   0.f,0}, {   0.f, 0.f,0}, 
{0.f,0.f,0}},
   { 9999,  {9e10f,9e10f,0}, {   0.f, 9e10f,0}, {   0.f,22.f,1}, 
{0.f,0.f,0}}
};

Now I ask: why is it possible to compile the vorbis module using 
./autogen.sh and make, but when using PB, so many warnings and errors 
pop up ?

What should I do to fix it ?

Elifarley C. Coelho
http://www.geocities.com/elifarley/

--- >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 mailing list