bpd1069 / naclports

Automatically exported from code.google.com/p/naclports
0 stars 0 forks source link

openal-ogg example fails to compile #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

/usr/local/google/home/sbc/nacl_sdk/pepper_canary//toolchain/linux_x86_newlib/bi
n/x86_64-nacl-gcc -o openal_ogg_x86_64.nexe openal_ogg.c ogg_buffer_reader.c 
-O3 -std=gnu99 -Werror -lppapi -lopenal -lvorbisfile -lvorbis -logg -lm 
-lpthread
cc1: warnings being treated as errors
openal_ogg.c:285: error: ‘struct PP_Rect’ declared inside parameter list
openal_ogg.c:285: error: its scope is only this definition or declaration, 
which is probably not what you want
make[1]: *** [openal_ogg_x86_64.nexe] Error 1

Original issue reported on code.google.com by sbc@google.com on 10 Jan 2013 at 12:01

GoogleCodeExporter commented 9 years ago
Adding in include of the rect header seems to fix this but I'm not sure if the 
correct fix.

Original comment by sbc@google.com on 10 Jan 2013 at 12:02

GoogleCodeExporter commented 9 years ago

Original comment by sbc@google.com on 10 Jan 2013 at 12:02

GoogleCodeExporter commented 9 years ago

Original comment by sbc@google.com on 1 Feb 2013 at 5:47