FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #35 r246636: Sun Feb 10 17:07:34 EST 2013 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64

clang -o parser.o -c -I../../dist/system_wrappers -include ../../../config/gcc_hidden.h -DWEBVTT_NO_CONFIG_H=1 -DWEBVTT_STATIC=1 -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -I../../../media/webvtt -I. -I../../dist/include -I/usr/local/include/nspr -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -I/usr/local/include -fPIC -Qunused-arguments -isystem/usr/local/include -I/usr/local/include -Qunused-arguments -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wno-unused -O2 -pipe -fno-strict-aliasing -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer -Qunused-arguments -isystem/usr/local/include -I/usr/local/include -include ../../mozilla-config.h -DMOZILLA_CLIENT -MD -MF .deps/parser.o.pp /usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/parser.c
string.c
In file included from /usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/alloc.c:32:
In file included from ../../dist/system_wrappers/malloc.h:2:
/usr/include/malloc.h:3:2: error: "<malloc.h> has been replaced by <stdlib.h>"
#error "<malloc.h> has been replaced by <stdlib.h>"
 ^
clang -o string.o -c -I../../dist/system_wrappers -include ../../../config/gcc_hidden.h -DWEBVTT_NO_CONFIG_H=1 -DWEBVTT_STATIC=1 -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -I../../../media/webvtt -I. -I../../dist/include -I/usr/local/include/nspr -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -I/usr/local/include -fPIC -Qunused-arguments -isystem/usr/local/include -I/usr/local/include -Qunused-arguments -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wno-unused -O2 -pipe -fno-strict-aliasing -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer -Qunused-arguments -isystem/usr/local/include -I/usr/local/include -include ../../mozilla-config.h -DMOZILLA_CLIENT -MD -MF .deps/string.o.pp /usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/string.c /usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/alloc.c:53:10: warning: implicitly declaring
      library function 'malloc' with type 'void *(unsigned long)'
  return malloc( nb );
         ^
/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/alloc.c:53:10: note: please include the
      header <stdlib.h> or explicitly provide a declaration for 'malloc'
/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/cuetext.c:178:11: warning: enumeration value
      'TIME_STAMP_TOKEN' not handled in switch [-Wswitch]
  switch( t->token_type ) {
          ^
/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/alloc.c:59/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/parser.c:116:13: warning: 6 enumeration values not handled in switch: 'V_NONE', 'V_POINTER', 'V_INTEGER'... [-Wswitch]
    switch( st->type ) {
            ^
:3: warning: implicit declaration
of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
  free( ptr );
  ^
2 warnings/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/lexer.c:205:13: warning: enumeration values
      'L_WEBVTT5' and 'L_LINE3' not handled in switch [-Wswitch]
    switch( self->tstate ) {
            ^
 and 1 error generated.
gmake[3]: *** [alloc.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/parser.c:453:17: warning: 23 enumeration values not handled in switch: 'BADTOKEN', 'UNFINISHED', 'BOM'... [-Wswitch]
        switch( token ) {
                ^
/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/parser.c:400:13: warning: enumeration values
      'CP_SD' and 'CP_SV' not handled in switch [-Wswitch]
    switch( state ) {
            ^
/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/parser.c:776:15: warning: 13 enumeration values not handled in switch: 'CP_T1', 'CP_T2', 'CP_T3'... [-Wswitch]
      switch( state ) {
              ^
/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/cuetext.c:722:13: warning: 11 enumeration values not handled in switch: 'WEBVTT_NEXT_CUESETTING', 'WEBVTT_SKIP_CUE', 'WEBVTT_FAIL'... [-Wswitch]
    switch( webvtt_cuetext_tokenizer( &position, &token ) ) {
            ^
/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/parser.c:830:13: warning: using the result
      of an assignment as a condition without parentheses [-Wparentheses]
      if( v = webvtt_string_getline( &SP->v.text, buffer, &pos,
          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/parser.c:830:13: note: place parentheses
      around the assignment to silence this warning
      if( v = webvtt_string_getline( &SP->v.text, buffer, &pos,
            ^
/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/parser.c:830:13: note: use '==' to turn this
      assignment into an equality comparison
      if( v = webvtt_string_getline( &SP->v.text, buffer, &pos,
            ^
            ==
/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/parser.c:953:17: warning: 24 enumeration values not handled in switch: 'BADTOKEN', 'UNFINISHED', 'BOM'... [-Wswitch]
        switch( token ) {
                ^
/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/parser.c:868:13: warning: 15 enumeration values not handled in switch: 'T_CUEREAD', 'T_CUEPARAMS', 'T_CUETEXT'... [-Wswitch]
    switch( SP->state ) {
            ^
/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/media/webvtt/parser.c:286:12: note: expanded from macro
      'SP'
#define SP (self->top)
           ^
1 warning generated.
2 warnings generated.
7 warnings generated.
gmake[3]: Leaving directory `/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/obj-x86_64-portbld-freebsd10.0/media/webvtt'
gmake[2]: *** [libs_tier_platform] Error 2
gmake[2]: Leaving directory `/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/obj-x86_64-portbld-freebsd10.0'
gmake[1]: *** [tier_platform] Error 2
gmake[1]: Leaving directory `/usr/ports/www/FF_nightly/work/mozilla-central-8b0c6e0bbd0f/obj-x86_64-portbld-freebsd10.0'
gmake: *** [default] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/www/FF_nightly.
*** [/usr/ports/www/FF_nightly/work/.build_done.firefox._usr_local] Error code 1

Stop in /usr/ports/www/FF_nightly.
*** [build] Error code 1

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"

Reply via email to