=> Bootstrap dependency digest>=20010302: found digest-20190127
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for xipdump-1.5.4nb5
--- mg_alloc.o ---
--- mg_arr.o ---
--- mg_arr_char.o ---
--- mg_assoc.o ---
--- mg_bit.o ---
--- mg_buf.o ---
--- mg_dict.o ---
--- mg_dict_int.o ---
--- mg_alloc.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_alloc.c
--- mg_assoc.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_assoc.c
--- mg_arr_char.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_arr_char.c
--- mg_dict_int.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_dict_int.c
--- mg_dict.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_dict.c
--- mg_arr.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_arr.c
--- mg_buf.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_buf.c
--- mg_bit.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_bit.c
--- mg_arr.o ---
mg_arr.c:163:33: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
  fprintf(stderr,"eltsize=%d\n",arr->eltsize);
                          ~~    ^~~~~~~~~~~~
                          %zu
--- mg_dict_int.o ---
mg_dict_int.c:74:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (s = index(str,'='))
          ~~^~~~~~~~~~~~~~~~
--- mg_assoc.o ---
mg_assoc.c:54:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (a = assoc_str_ptr_from_left(assoc,left))
      ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- mg_dict_int.o ---
mg_dict_int.c:74:13: note: place parentheses around the assignment to silence this warning
      if (s = index(str,'='))
            ^
          (                 )
--- mg_assoc.o ---
mg_assoc.c:54:9: note: place parentheses around the assignment to silence this warning
--- mg_dict_int.o ---
mg_dict_int.c:74:13: note: use '==' to turn this assignment into an equality comparison
      if (s = index(str,'='))
            ^
            ==
--- mg_assoc.o ---
  if (a = assoc_str_ptr_from_left(assoc,left))
        ^
      (                                      )
mg_assoc.c:54:9: note: use '==' to turn this assignment into an equality comparison
  if (a = assoc_str_ptr_from_left(assoc,left))
        ^
        ==
mg_assoc.c:68:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
      if ((int)(assoc->right) == right)
          ^~~~~~~~~~~~~~~~~~~
--- mg_dict_str.o ---
--- mg_dict.o ---
mg_dict.c:26:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (carry = (hash_code & 0xf0000000)) 
          ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
mg_dict.c:26:17: note: place parentheses around the assignment to silence this warning
      if (carry = (hash_code & 0xf0000000)) 
                ^
          (                               )
mg_dict.c:26:17: note: use '==' to turn this assignment into an equality comparison
      if (carry = (hash_code & 0xf0000000)) 
                ^
                ==
--- mg_dict_str.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_dict_str.c
--- mg_dict.o ---
mg_dict.c:183:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = dict_get(dict,key))
      ~~~^~~~~~~~~~~~~~~~~~~~
mg_dict.c:183:10: note: place parentheses around the assignment to silence this warning
  if (he = dict_get(dict,key))
         ^
      (                      )
mg_dict.c:183:10: note: use '==' to turn this assignment into an equality comparison
  if (he = dict_get(dict,key))
         ^
         ==
mg_dict.c:214:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = dict_get(dict,key))
      ~~~^~~~~~~~~~~~~~~~~~~~
mg_dict.c:214:10: note: place parentheses around the assignment to silence this warning
  if (he = dict_get(dict,key))
         ^
      (                      )
mg_dict.c:214:10: note: use '==' to turn this assignment into an equality comparison
  if (he = dict_get(dict,key))
         ^
         ==
mg_dict.c:484:50: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat]
  fprintf(stderr,"key=`%s' value=0x%x\n",he->key,he->value);
                                   ~~            ^~~~~~~~~
--- mg_assoc.o ---
2 warnings generated.
--- mg_dict_int.o ---
1 warning generated.
--- mg_dm.o ---
--- mg_dyn_str.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_dyn_str.c
--- mg_dm.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_dm.c
--- mg_err.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_err.c
--- mg_arr.o ---
1 warning generated.
--- mg_hash.o ---
--- mg_id.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_id.c
--- mg_hash.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_hash.c
--- mg_dict_str.o ---
mg_dict_str.c:31:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = dict_get(dict,key))
      ~~~^~~~~~~~~~~~~~~~~~~~
mg_dict_str.c:31:10: note: place parentheses around the assignment to silence this warning
  if (he = dict_get(dict,key))
         ^
      (                      )
mg_dict_str.c:31:10: note: use '==' to turn this assignment into an equality comparison
  if (he = dict_get(dict,key))
         ^
         ==
mg_dict_str.c:71:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = dict_get(dict,key))
      ~~~^~~~~~~~~~~~~~~~~~~~
mg_dict_str.c:71:10: note: place parentheses around the assignment to silence this warning
  if (he = dict_get(dict,key))
         ^
      (                      )
mg_dict_str.c:71:10: note: use '==' to turn this assignment into an equality comparison
  if (he = dict_get(dict,key))
         ^
         ==
mg_dict_str.c:102:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = dict_get(dict,key))
      ~~~^~~~~~~~~~~~~~~~~~~~
mg_dict_str.c:102:10: note: place parentheses around the assignment to silence this warning
  if (he = dict_get(dict,key))
         ^
      (                      )
mg_dict_str.c:102:10: note: use '==' to turn this assignment into an equality comparison
  if (he = dict_get(dict,key))
         ^
         ==
mg_dict_str.c:222:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
--- mg_dict.o ---
4 warnings generated.
--- mg_id_ptr.o ---
--- mg_id.o ---
mg_id.c:176:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = id_get(id,key))
      ~~~^~~~~~~~~~~~~~~~
mg_id.c:176:10: note: place parentheses around the assignment to silence this warning
  if (he = id_get(id,key))
         ^
      (                  )
mg_id.c:176:10: note: use '==' to turn this assignment into an equality comparison
  if (he = id_get(id,key))
         ^
         ==
--- mg_id_str.o ---
--- mg_id_ptr.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_id_ptr.c
--- mg_id_str.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_id_str.c
--- mg_id.o ---
mg_id.c:356:30: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat]
  fprintf(stderr,"0x%x=0x%x",he->key,he->value);
                    ~~       ^~~~~~~
mg_id.c:356:38: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat]
  fprintf(stderr,"0x%x=0x%x",he->key,he->value);
                         ~~          ^~~~~~~~~
mg_id.c:393:20: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
  while (id_get(id,(VOID_PTR)base_key))
                   ^~~~~~~~~~~~~~~~~~
mg_id.c:401:5: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                         (VOID_PTR)base_key,
                         ^~~~~~~~~~~~~~~~~~
mg_id.c:414:28: warning: format specifies type 'int' but the argument has type 'void *' [-Wformat]
  fprintf(stderr,"%d=%x\n",he->key,he->value);
                  ~~       ^~~~~~~
mg_id.c:414:36: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat]
  fprintf(stderr,"%d=%x\n",he->key,he->value);
                     ~~            ^~~~~~~~~
--- mg_dm.o ---
mg_dm.c:43:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = id_get(dm->id,ptr))
      ~~~^~~~~~~~~~~~~~~~~~~~
mg_dm.c:43:10: note: place parentheses around the assignment to silence this warning
  if (he = id_get(dm->id,ptr))
         ^
      (                      )
mg_dm.c:43:10: note: use '==' to turn this assignment into an equality comparison
  if (he = id_get(dm->id,ptr))
         ^
         ==
mg_dm.c:118:8: warning: implicit declaration of function 'gmatch' is invalid in C99 [-Wimplicit-function-declaration]
  if (!gmatch(dme->comment2,comment2))
       ^
mg_dm.c:152:7: warning: implicit declaration of function 'gmatch' is invalid in C99 [-Wimplicit-function-declaration]
        if (!gmatch(comment2,dm->regexp))
             ^
mg_dm.c:154:51: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
      fprintf(stderr,"malloced %p %d %s-%s\n",ptr,size,comment1,comment2);
                                  ~~              ^~~~
                                  %zu
mg_dm.c:195:7: warning: implicit declaration of function 'gmatch' is invalid in C99 [-Wimplicit-function-declaration]
        if (!gmatch(comment2,dm->regexp))
             ^
mg_dm.c:200:8: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
              dme->size,
              ^~~~~~~~~
mg_dm.c:201:8: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
              size,
              ^~~~
--- mg_dict_str.o ---
4 warnings generated.
--- mg_dm.o ---
mg_dm.c:223:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (dme = dm_unregister_ptr(dm,ptr,comment1,comment2))
      ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mg_dm.c:223:11: note: place parentheses around the assignment to silence this warning
  if (dme = dm_unregister_ptr(dm,ptr,comment1,comment2))
          ^
      (                                                )
mg_dm.c:223:11: note: use '==' to turn this assignment into an equality comparison
  if (dme = dm_unregister_ptr(dm,ptr,comment1,comment2))
          ^
          ==
mg_dm.c:229:7: warning: implicit declaration of function 'gmatch' is invalid in C99 [-Wimplicit-function-declaration]
        if (!gmatch(comment2,dm->regexp))
             ^
mg_dm.c:268:4: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
          dme->size,
          ^~~~~~~~~
mg_dm.c:281:35: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
  fprintf(stderr,"cumulated=%d\n",dm->cumulated);
                            ~~    ^~~~~~~~~~~~~
                            %zu
mg_dm.c:282:32: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
  fprintf(stderr,"in_use=%d\n",dm->in_use);
                         ~~    ^~~~~~~~~~
                         %zu
--- mg_int.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_int.c
--- mg_err.o ---
mg_err.c:63:7: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                           (VOID_PTR)(ERR_MG_START + i),
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
mg_err.c:88:6: warning: cast to 'void *' from smaller integer type 't_status' (aka 'int') [-Wint-to-void-pointer-cast]
                   (VOID_PTR)errcode)) == NULL)
                   ^~~~~~~~~~~~~~~~~
mg_err.c:120:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (err = err_msg(errcode))
      ~~~~^~~~~~~~~~~~~~~~~~
mg_err.c:120:11: note: place parentheses around the assignment to silence this warning
  if (err = err_msg(errcode))
          ^
      (                     )
mg_err.c:120:11: note: use '==' to turn this assignment into an equality comparison
  if (err = err_msg(errcode))
          ^
          ==
--- mg_mask.o ---
--- mg_err.o ---
3 warnings generated.
--- mg_id_str.o ---
mg_id_str.c:18:28: warning: format specifies type 'int' but the argument has type 'void *' [-Wformat]
  fprintf(stderr,"%d=%s\n",he->key,he->value);
                  ~~       ^~~~~~~
1 warning generated.
--- mg_mask.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_mask.c
--- mg_misc.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_misc.c
--- mg_parse.o ---
--- mg_dm.o ---
12 warnings generated.
--- mg_parse.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_parse.c
--- mg_printf.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_printf.c
--- mg_stack.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_stack.c
--- mg_id.o ---
7 warnings generated.
--- mg_str.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_str.c
--- mg_sysdep.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_sysdep.c
--- mg_misc.o ---
mg_misc.c:80:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
--- mg_vec.o ---
--- mg_printf.o ---
mg_printf.c:21:7: warning: implicitly declaring library function 'iscntrl' with type 'int (int)' [-Wimplicit-function-declaration]
  if (iscntrl(ch) && ch != '\n' && ch != '\t')
      ^
mg_printf.c:21:7: note: include the header <ctype.h> or explicitly provide a declaration for 'iscntrl'
--- mg_mask.o ---
mg_mask.c:63:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          if (mask_def = mask_get_def_from_str(defs,str))
              ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mg_mask.c:63:17: note: place parentheses around the assignment to silence this warning
          if (mask_def = mask_get_def_from_str(defs,str))
                       ^
              (                                         )
mg_mask.c:63:17: note: use '==' to turn this assignment into an equality comparison
          if (mask_def = mask_get_def_from_str(defs,str))
                       ^
                       ==
--- mg_parse.o ---
mg_parse.c:329:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (ptr = bindex(bc->buf,bc->len,'\n'))
          ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mg_parse.c:329:15: note: place parentheses around the assignment to silence this warning
      if (ptr = bindex(bc->buf,bc->len,'\n'))
              ^
          (                                 )
mg_parse.c:329:15: note: use '==' to turn this assignment into an equality comparison
      if (ptr = bindex(bc->buf,bc->len,'\n'))
              ^
              ==
--- mg_vec_buf.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_vec_buf.c
--- mg_vec_int.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_vec_int.c
--- mg_misc.o ---
1 warning generated.
--- mg_vec.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_vec.c
--- mg_mask.o ---
1 warning generated.
--- mg_vec_ptr.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_vec_ptr.c
--- mg_vec_str.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_vec_str.c
--- mg_opt.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c mg_opt.c
--- mg_vec_int.o ---
mg_vec_int.c:23:18: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
      average += (int)p;
                 ^~~~~~
mg_vec_int.c:37:28: warning: format specifies type 'int' but the argument has type 'void *' [-Wformat]
      fprintf(stderr,"%d ",p);      
                      ~~   ^
--- mg_printf.o ---
1 warning generated.
--- gdm.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c gdm.c
--- mg_vec_str.o ---
mg_vec_str.c:37:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          if (tmp = strdup_alloc(s3,
              ~~~~^~~~~~~~~~~~~~~~~~
mg_vec_str.c:37:12: note: place parentheses around the assignment to silence this warning
          if (tmp = strdup_alloc(s3,
                  ^
              (
mg_vec_str.c:37:12: note: use '==' to turn this assignment into an equality comparison
          if (tmp = strdup_alloc(s3,
                  ^
                  ==
mg_vec_str.c:51:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (tmp = strdup_alloc(s3,
          ~~~~^~~~~~~~~~~~~~~~~~
--- mg_parse.o ---
1 warning generated.
--- mg_vec_str.o ---
mg_vec_str.c:51:15: note: place parentheses around the assignment to silence this warning
      if (tmp = strdup_alloc(s3,
              ^
          (
mg_vec_str.c:51:15: note: use '==' to turn this assignment into an equality comparison
      if (tmp = strdup_alloc(s3,
              ^
              ==
--- gmatch.o ---
--- mg_vec_int.o ---
2 warnings generated.
--- gmatch.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c gmatch.c
--- snprintf.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c snprintf.c
--- pat_16.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_16.c
--- pat_32.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_32.c
--- pat_8.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_8.c
--- mg_opt.o ---
mg_opt.c:254:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else
        ^
--- pat_arp.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_arp.c
--- mg_vec_str.o ---
2 warnings generated.
--- pat_boolean.o ---
--- pat_bootp.o ---
--- pat_boolean.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_boolean.c
--- pat_bootp.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_bootp.c
--- gmatch.o ---
gmatch.c:42:12: warning: implicit declaration of function 'glob_match' is invalid in C99 [-Wimplicit-function-declaration]
   return (glob_match(pattern,text,0,GMATCH_SENSITIVE));
           ^
gmatch.c:50:12: warning: implicit declaration of function 'glob_match' is invalid in C99 [-Wimplicit-function-declaration]
   return (glob_match(pattern,text,0,caseflag));
           ^
--- pat_32.o ---
pat_32.c:292:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (assoc = assoc_str_int_from_right(assocs,(int)u32))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_32.c:292:13: note: place parentheses around the assignment to silence this warning
  if (assoc = assoc_str_int_from_right(assocs,(int)u32))
            ^
      (                                                )
pat_32.c:292:13: note: use '==' to turn this assignment into an equality comparison
  if (assoc = assoc_str_int_from_right(assocs,(int)u32))
            ^
            ==
pat_32.c:313:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (assoc = assoc_str_ptr_from_left(assocs,value))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_32.c:313:13: note: place parentheses around the assignment to silence this warning
  if (assoc = assoc_str_ptr_from_left(assocs,value))
            ^
      (                                            )
pat_32.c:313:13: note: use '==' to turn this assignment into an equality comparison
  if (assoc = assoc_str_ptr_from_left(assocs,value))
            ^
            ==
pat_32.c:314:18: warning: cast to smaller integer type 't_u32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast]
    u32 = (t_u32)(t_u32)(assoc->right);
                 ^~~~~~~~~~~~~~~~~~~~~
--- pat_16.o ---
pat_16.c:368:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
--- pat_32.o ---
pat_32.c:382:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (assoc = assoc_str_int_from_right(assocs,(int)u32))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_32.c:382:13: note: place parentheses around the assignment to silence this warning
  if (assoc = assoc_str_int_from_right(assocs,(int)u32))
            ^
      (                                                )
pat_32.c:382:13: note: use '==' to turn this assignment into an equality comparison
  if (assoc = assoc_str_int_from_right(assocs,(int)u32))
            ^
            ==
--- gmatch.o ---
2 warnings generated.
--- pat_32.o ---
pat_32.c:403:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (assoc = assoc_str_ptr_from_left(assocs,value))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_32.c:403:13: note: place parentheses around the assignment to silence this warning
  if (assoc = assoc_str_ptr_from_left(assocs,value))
            ^
      (                                            )
pat_32.c:403:13: note: use '==' to turn this assignment into an equality comparison
  if (assoc = assoc_str_ptr_from_left(assocs,value))
            ^
            ==
pat_32.c:404:18: warning: cast to smaller integer type 't_u32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast]
    u32 = (t_u32)(t_u32)(assoc->right);
                 ^~~~~~~~~~~~~~~~~~~~~
--- pat_8.o ---
pat_8.c:158:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (assoc = assoc_str_int_from_right(ascii_assocs,
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_8.c:158:13: note: place parentheses around the assignment to silence this warning
  if (assoc = assoc_str_int_from_right(ascii_assocs,
            ^
      (
pat_8.c:158:13: note: use '==' to turn this assignment into an equality comparison
  if (assoc = assoc_str_int_from_right(ascii_assocs,
            ^
            ==
pat_8.c:179:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (assoc = assoc_str_ptr_from_left(ascii_assocs,
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_8.c:179:13: note: place parentheses around the assignment to silence this warning
  if (assoc = assoc_str_ptr_from_left(ascii_assocs,
            ^
      (
pat_8.c:179:13: note: use '==' to turn this assignment into an equality comparison
  if (assoc = assoc_str_ptr_from_left(ascii_assocs,
            ^
            ==
pat_8.c:182:17: warning: cast to smaller integer type 't_u32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast]
      c = (t_u8)(t_u32)(assoc->right);
                ^~~~~~~~~~~~~~~~~~~~~
--- pat_buf.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_buf.c
--- pat_8.o ---
pat_8.c:403:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (assoc = assoc_str_int_from_right(assocs,(int)c))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_8.c:403:13: note: place parentheses around the assignment to silence this warning
  if (assoc = assoc_str_int_from_right(assocs,(int)c))
            ^
      (                                              )
pat_8.c:403:13: note: use '==' to turn this assignment into an equality comparison
  if (assoc = assoc_str_int_from_right(assocs,(int)c))
            ^
            ==
pat_8.c:424:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (assoc = assoc_str_ptr_from_left(assocs,value))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_8.c:424:13: note: place parentheses around the assignment to silence this warning
  if (assoc = assoc_str_ptr_from_left(assocs,value))
            ^
      (                                            )
pat_8.c:424:13: note: use '==' to turn this assignment into an equality comparison
  if (assoc = assoc_str_ptr_from_left(assocs,value))
            ^
            ==
pat_8.c:425:15: warning: cast to smaller integer type 't_u32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast]
    c = (t_u8)(t_u32)(assoc->right);
              ^~~~~~~~~~~~~~~~~~~~~
--- pat_16.o ---
  if (assoc = assoc_str_int_from_right(assocs,(int)u16))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_16.c:368:13: note: place parentheses around the assignment to silence this warning
  if (assoc = assoc_str_int_from_right(assocs,(int)u16))
            ^
      (                                                )
pat_16.c:368:13: note: use '==' to turn this assignment into an equality comparison
  if (assoc = assoc_str_int_from_right(assocs,(int)u16))
            ^
            ==
pat_16.c:390:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (assoc = assoc_str_ptr_from_left(assocs,value))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_16.c:390:13: note: place parentheses around the assignment to silence this warning
  if (assoc = assoc_str_ptr_from_left(assocs,value))
            ^
      (                                            )
pat_16.c:390:13: note: use '==' to turn this assignment into an equality comparison
  if (assoc = assoc_str_ptr_from_left(assocs,value))
            ^
            ==
pat_16.c:391:18: warning: cast to smaller integer type 't_u32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast]
    u16 = (t_u16)(t_u32)(assoc->right);
                 ^~~~~~~~~~~~~~~~~~~~~
--- pat_8.o ---
pat_8.c:595:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (assoc = assoc_str_int_from_right(bfad->assocs,(int)u8ret))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_8.c:595:13: note: place parentheses around the assignment to silence this warning
  if (assoc = assoc_str_int_from_right(bfad->assocs,(int)u8ret))
            ^
      (                                                        )
pat_8.c:595:13: note: use '==' to turn this assignment into an equality comparison
  if (assoc = assoc_str_int_from_right(bfad->assocs,(int)u8ret))
            ^
            ==
pat_8.c:618:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (assoc = assoc_str_ptr_from_left(bfad->assocs,value))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_8.c:618:13: note: place parentheses around the assignment to silence this warning
  if (assoc = assoc_str_ptr_from_left(bfad->assocs,value))
            ^
      (                                                  )
pat_8.c:618:13: note: use '==' to turn this assignment into an equality comparison
  if (assoc = assoc_str_ptr_from_left(bfad->assocs,value))
            ^
            ==
pat_8.c:619:21: warning: cast to smaller integer type 't_u32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast]
    u8value = (t_u8)(t_u32)(assoc->right);
                    ^~~~~~~~~~~~~~~~~~~~~
--- mg_opt.o ---
1 warning generated.
--- pat_16.o ---
pat_16.c:709:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (assoc = assoc_str_int_from_right(bfad->assocs,(int)u16ret))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_16.c:709:13: note: place parentheses around the assignment to silence this warning
  if (assoc = assoc_str_int_from_right(bfad->assocs,(int)u16ret))
            ^
      (                                                         )
pat_16.c:709:13: note: use '==' to turn this assignment into an equality comparison
  if (assoc = assoc_str_int_from_right(bfad->assocs,(int)u16ret))
            ^
            ==
--- pat_bytebuf.o ---
--- pat_16.o ---
pat_16.c:734:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (assoc = assoc_str_ptr_from_left(bfad->assocs,value))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_16.c:734:13: note: place parentheses around the assignment to silence this warning
  if (assoc = assoc_str_ptr_from_left(bfad->assocs,value))
            ^
      (                                                  )
pat_16.c:734:13: note: use '==' to turn this assignment into an equality comparison
  if (assoc = assoc_str_ptr_from_left(bfad->assocs,value))
            ^
            ==
pat_16.c:735:23: warning: cast to smaller integer type 't_u32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast]
    u16value = (t_u16)(t_u32)(assoc->right);
                      ^~~~~~~~~~~~~~~~~~~~~
--- pat_bytebuf.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_bytebuf.c
--- pat_data.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_data.c
--- pat_bootp.o ---
pat_bootp.c:741:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = id_get(id,
      ~~~^~~~~~~~~~~~
pat_bootp.c:741:10: note: place parentheses around the assignment to silence this warning
  if (he = id_get(id,
         ^
      (
pat_bootp.c:741:10: note: use '==' to turn this assignment into an equality comparison
  if (he = id_get(id,
         ^
         ==
pat_bootp.c:743:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    i = (int)(he->value);
        ^~~~~~~~~~~~~~~~
pat_bootp.c:753:8: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                            (VOID_PTR)(++i))) != 0)
                            ^~~~~~~~~~~~~~~
pat_bootp.c:778:18: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
      if (tag == (int)(assoc->left))
                 ^~~~~~~~~~~~~~~~~~
--- pat_dns.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_dns.c
--- pat_32.o ---
6 warnings generated.
--- pat_ethaddr.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_ethaddr.c
--- pat_buf.o ---
pat_buf.c:24:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
  if ((ulen = (int)(data)) == 0)
              ^~~~~~~~~~~
pat_buf.c:44:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
  if ((ulen = (int)(data)) == 0)
              ^~~~~~~~~~~
--- pat_ether.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_ether.c
--- pat_16.o ---
6 warnings generated.
--- pat_icmp.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_icmp.c
--- pat_8.o ---
9 warnings generated.
--- pat_icmpcode.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_icmpcode.c
--- pat_dns.o ---
pat_dns.c:249:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (he = id_get(optional_id,
          ~~~^~~~~~~~~~~~~~~~~~~~~
pat_dns.c:249:14: note: place parentheses around the assignment to silence this warning
      if (he = id_get(optional_id,
             ^
          (
pat_dns.c:249:14: note: use '==' to turn this assignment into an equality comparison
      if (he = id_get(optional_id,
             ^
             ==
pat_dns.c:255:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
          nquestions = (int)(he->value);
                       ^~~~~~~~~~~~~~~~
pat_dns.c:264:6: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                                        (VOID_PTR)nquestions)) != 0)
                                        ^~~~~~~~~~~~~~~~~~~~
--- pat_buf.o ---
2 warnings generated.
--- pat_dns.o ---
pat_dns.c:717:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (he = id_get(optional_id,
          ~~~^~~~~~~~~~~~~~~~~~~~~
pat_dns.c:717:14: note: place parentheses around the assignment to silence this warning
      if (he = id_get(optional_id,
             ^
          (
pat_dns.c:717:14: note: use '==' to turn this assignment into an equality comparison
      if (he = id_get(optional_id,
             ^
             ==
pat_dns.c:725:6: warning: cast to 'void *' from smaller integer type 't_u32' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
                   (VOID_PTR)((t_u32)(safe_ntohs(&dns->nquestions))))) != 0)
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- pat_ieee802.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_ieee802.c
--- pat_bootp.o ---
4 warnings generated.
--- pat_igmp.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_igmp.c
--- pat_inaddr.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_inaddr.c
--- pat_icmpcode.o ---
pat_icmpcode.c:73:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
      if ((int)(icmpcode_assocs[i].left) == type)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_icmpcode.c:131:19: warning: cast to smaller integer type 't_u32' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast]
          buf[1] = (t_u8)(t_u32)(assoc->right);
                         ^~~~~~~~~~~~~~~~~~~~~
--- pat_ip.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_ip.c
--- pat_dns.o ---
5 warnings generated.
--- pat_ipproto.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_ipproto.c
--- pat_mac.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_mac.c
--- pat_icmpcode.o ---
2 warnings generated.
--- pat_null.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_null.c
--- pat_ipproto.o ---
pat_ipproto.c:53:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (protoentry = getprotobyname(str))
          ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
pat_ipproto.c:53:22: note: place parentheses around the assignment to silence this warning
      if (protoentry = getprotobyname(str))
                     ^
          (                               )
pat_ipproto.c:53:22: note: use '==' to turn this assignment into an equality comparison
      if (protoentry = getprotobyname(str))
                     ^
                     ==
pat_ipproto.c:62:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (assoc = assoc_str_ptr_from_left(ipproto_assocs,str))
          ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- pat_pad.o ---
--- pat_ipproto.o ---
pat_ipproto.c:62:17: note: place parentheses around the assignment to silence this warning
      if (assoc = assoc_str_ptr_from_left(ipproto_assocs,str))
                ^
          (                                                  )
pat_ipproto.c:62:17: note: use '==' to turn this assignment into an equality comparison
      if (assoc = assoc_str_ptr_from_left(ipproto_assocs,str))
                ^
                ==
pat_ipproto.c:63:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
        return ((int)assoc->right);
                ^~~~~~~~~~~~~~~~~
pat_ipproto.c:84:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (protoentry = getprotobynumber(proto))
          ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
pat_ipproto.c:84:22: note: place parentheses around the assignment to silence this warning
      if (protoentry = getprotobynumber(proto))
                     ^
          (                                   )
--- pat_pad.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_pad.c
--- pat_ipproto.o ---
pat_ipproto.c:84:22: note: use '==' to turn this assignment into an equality comparison
      if (protoentry = getprotobynumber(proto))
                     ^
                     ==
pat_ipproto.c:95:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (assoc = assoc_str_int_from_right(ipproto_assocs,proto))
          ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_ipproto.c:95:17: note: place parentheses around the assignment to silence this warning
      if (assoc = assoc_str_int_from_right(ipproto_assocs,proto))
                ^
          (                                                     )
pat_ipproto.c:95:17: note: use '==' to turn this assignment into an equality comparison
      if (assoc = assoc_str_int_from_right(ipproto_assocs,proto))
                ^
                ==
pat_ipproto.c:144:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (protoentry = getprotoent())
         ~~~~~~~~~~~^~~~~~~~~~~~~~~
pat_ipproto.c:144:21: note: place parentheses around the assignment to silence this warning
  while (protoentry = getprotoent())
                    ^
         (                         )
pat_ipproto.c:144:21: note: use '==' to turn this assignment into an equality comparison
  while (protoentry = getprotoent())
                    ^
                    ==
--- pat_pat.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_pat.c
--- pat_port.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_port.c
--- pat_ip.o ---
pat_ip.c:594:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = id_get(id,
      ~~~^~~~~~~~~~~~
pat_ip.c:594:10: note: place parentheses around the assignment to silence this warning
  if (he = id_get(id,
         ^
      (
pat_ip.c:594:10: note: use '==' to turn this assignment into an equality comparison
  if (he = id_get(id,
         ^
         ==
pat_ip.c:596:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    i = (int)(he->value);
        ^~~~~~~~~~~~~~~~
pat_ip.c:606:8: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                            (VOID_PTR)(++i))) != 0)
                            ^~~~~~~~~~~~~~~
--- pat_ipproto.o ---
6 warnings generated.
--- pat_ip.o ---
pat_ip.c:1113:5: warning: cast to 'void *' from smaller integer type 't_u32' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
                                (VOID_PTR)inaddr)) != 0)
                                ^~~~~~~~~~~~~~~~
pat_ip.c:1118:5: warning: cast to 'void *' from smaller integer type 't_u32' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
                                (VOID_PTR)inaddr)) != 0)
                                ^~~~~~~~~~~~~~~~
pat_ip.c:1144:9: warning: cast to 'void *' from smaller integer type 't_u32' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
                      (VOID_PTR)(t_u32)p))
                      ^~~~~~~~~~~~~~~~~~
pat_ip.c:1143:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (he = id_get(pat_ip_sub_id,
          ~~~^~~~~~~~~~~~~~~~~~~~~~~
pat_ip.c:1143:14: note: place parentheses around the assignment to silence this warning
      if (he = id_get(pat_ip_sub_id,
             ^
          (
pat_ip.c:1143:14: note: use '==' to turn this assignment into an equality comparison
      if (he = id_get(pat_ip_sub_id,
             ^
             ==
--- pat_rip.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_rip.c
--- pat_rpc.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_rpc.c
--- pat_rpcnum.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_rpcnum.c
--- pat_pad.o ---
pat_pad.c:76:6: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                          (VOID_PTR)i,
                          ^~~~~~~~~~~
pat_pad.c:93:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = id_get(id,
      ~~~^~~~~~~~~~~~
pat_pad.c:93:10: note: place parentheses around the assignment to silence this warning
  if (he = id_get(id,
         ^
      (
pat_pad.c:93:10: note: use '==' to turn this assignment into an equality comparison
  if (he = id_get(id,
         ^
         ==
pat_pad.c:95:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    i = (int)(he->value);
        ^~~~~~~~~~~~~~~~
pat_pad.c:105:8: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                            (VOID_PTR)(++i))) != 0)
                            ^~~~~~~~~~~~~~~
--- pat_seqack.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_seqack.c
--- pat_pat.o ---
pat_pat.c:217:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = dict_get(pat_dict,str))
      ~~~^~~~~~~~~~~~~~~~~~~~~~~~
pat_pat.c:217:10: note: place parentheses around the assignment to silence this warning
  if (he = dict_get(pat_dict,str))
         ^
      (                          )
pat_pat.c:217:10: note: use '==' to turn this assignment into an equality comparison
  if (he = dict_get(pat_dict,str))
         ^
         ==
--- pat_pad.o ---
4 warnings generated.
--- pat_port.o ---
pat_port.c:31:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (serventry = getservbyname(str,proto))
          ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
pat_port.c:31:21: note: place parentheses around the assignment to silence this warning
      if (serventry = getservbyname(str,proto))
                    ^
          (                                   )
pat_port.c:31:21: note: use '==' to turn this assignment into an equality comparison
      if (serventry = getservbyname(str,proto))
                    ^
                    ==
pat_port.c:60:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (serventry = getservbyport(UNSAFE_HTONS(port),proto))
          ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pat_port.c:60:21: note: place parentheses around the assignment to silence this warning
      if (serventry = getservbyport(UNSAFE_HTONS(port),proto))
                    ^
          (                                                  )
pat_port.c:60:21: note: use '==' to turn this assignment into an equality comparison
      if (serventry = getservbyport(UNSAFE_HTONS(port),proto))
                    ^
                    ==
pat_port.c:132:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (serventry = getservent())
         ~~~~~~~~~~^~~~~~~~~~~~~~
pat_port.c:132:20: note: place parentheses around the assignment to silence this warning
  while (serventry = getservent())
                   ^
         (                       )
pat_port.c:132:20: note: use '==' to turn this assignment into an equality comparison
  while (serventry = getservent())
                   ^
                   ==
--- pat_shortbuf.o ---
--- pat_subnet.o ---
--- pat_shortbuf.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_shortbuf.c
--- pat_subnet.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_subnet.c
--- pat_port.o ---
3 warnings generated.
--- pat_sz.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_sz.c
--- pat_tcp.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_tcp.c
--- pat_ip.o ---
7 warnings generated.
--- pat_tftp.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_tftp.c
--- pat_seqack.o ---
pat_seqack.c:36:9: warning: implicit declaration of function 'safe_ntohl' is invalid in C99 [-Wimplicit-function-declaration]
  seq = safe_ntohl(&sa->seq); /* alignment */
        ^
--- pat_subnet.o ---
pat_subnet.c:58:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (bits_str = index(safe_str,'/'))
      ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
pat_subnet.c:58:16: note: place parentheses around the assignment to silence this warning
  if (bits_str = index(safe_str,'/'))
               ^
      (                             )
pat_subnet.c:58:16: note: use '==' to turn this assignment into an equality comparison
  if (bits_str = index(safe_str,'/'))
               ^
               ==
pat_subnet.c:63:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (mask_str = index(safe_str,':'))
        ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
pat_subnet.c:63:18: note: place parentheses around the assignment to silence this warning
    if (mask_str = index(safe_str,':'))
                 ^
        (                             )
pat_subnet.c:63:18: note: use '==' to turn this assignment into an equality comparison
    if (mask_str = index(safe_str,':'))
                 ^
                 ==
pat_subnet.c:67:25: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration]
  subnet->addr.s_addr = inet_addr(safe_str);
                        ^
pat_subnet.c:150:17: warning: implicit declaration of function 'inaddr_to_str' is invalid in C99 [-Wimplicit-function-declaration]
  if ((status = inaddr_to_str(&(subnet->addr),
                ^
pat_subnet.c:290:30: warning: implicit declaration of function 'inet_ntoa' is invalid in C99 [-Wimplicit-function-declaration]
  fprintf(stderr,"addr=%s\n",inet_ntoa(subnet->addr));
                             ^
pat_subnet.c:290:30: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
  fprintf(stderr,"addr=%s\n",inet_ntoa(subnet->addr));
                       ~~    ^~~~~~~~~~~~~~~~~~~~~~~
                       %d
pat_subnet.c:291:30: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
  fprintf(stderr,"mask=%s\n",inet_ntoa(subnet->mask));
                       ~~    ^~~~~~~~~~~~~~~~~~~~~~~
                       %d
pat_subnet.c:292:31: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
  fprintf(stderr,"cable=%s\n",inet_ntoa(subnet->cable));
                        ~~    ^~~~~~~~~~~~~~~~~~~~~~~~
                        %d
pat_subnet.c:293:35: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
  fprintf(stderr,"broadcast=%s\n",inet_ntoa(subnet->broadcast));
                            ~~    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            %d
pat_subnet.c:313:4: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
                        (int)(data)));
                        ^~~~~~~~~~~
--- pat_rpcnum.o ---
pat_rpcnum.c:36:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (rpcentry = getrpcbyname(str))
          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
pat_rpcnum.c:36:20: note: place parentheses around the assignment to silence this warning
      if (rpcentry = getrpcbyname(str))
                   ^
          (                           )
pat_rpcnum.c:36:20: note: use '==' to turn this assignment into an equality comparison
      if (rpcentry = getrpcbyname(str))
                   ^
                   ==
pat_rpcnum.c:64:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (rpcentry = getrpcbynumber(rpc))
          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
pat_rpcnum.c:64:20: note: place parentheses around the assignment to silence this warning
      if (rpcentry = getrpcbynumber(rpc))
                   ^
          (                             )
pat_rpcnum.c:64:20: note: use '==' to turn this assignment into an equality comparison
      if (rpcentry = getrpcbynumber(rpc))
                   ^
                   ==
pat_rpcnum.c:124:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (rpcentry = getrpcent())
         ~~~~~~~~~^~~~~~~~~~~~~
pat_rpcnum.c:124:19: note: place parentheses around the assignment to silence this warning
  while (rpcentry = getrpcent())
                  ^
         (                     )
pat_rpcnum.c:124:19: note: use '==' to turn this assignment into an equality comparison
  while (rpcentry = getrpcent())
                  ^
                  ==
--- pat_seqack.o ---
1 warning generated.
--- pat_time.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_time.c
--- pat_rpcnum.o ---
3 warnings generated.
--- pat_tr.o ---
--- pat_udp.o ---
--- pat_tr.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_tr.c
--- pat_udp.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat_udp.c
--- pat_tcp.o ---
pat_tcp.c:442:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = id_get(id,
      ~~~^~~~~~~~~~~~
pat_tcp.c:442:10: note: place parentheses around the assignment to silence this warning
  if (he = id_get(id,
         ^
      (
pat_tcp.c:442:10: note: use '==' to turn this assignment into an equality comparison
  if (he = id_get(id,
         ^
         ==
pat_tcp.c:444:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    i = (int)(he->value);
        ^~~~~~~~~~~~~~~~
pat_tcp.c:454:8: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                            (VOID_PTR)(++i))) != 0)
                            ^~~~~~~~~~~~~~~
pat_tcp.c:842:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          if (he = id_get(optional_id,
              ~~~^~~~~~~~~~~~~~~~~~~~~
pat_tcp.c:842:11: note: place parentheses around the assignment to silence this warning
          if (he = id_get(optional_id,
                 ^
              (
pat_tcp.c:842:11: note: use '==' to turn this assignment into an equality comparison
          if (he = id_get(optional_id,
                 ^
                 ==
pat_tcp.c:847:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          if (he = id_get(optional_id,
              ~~~^~~~~~~~~~~~~~~~~~~~~
pat_tcp.c:847:11: note: place parentheses around the assignment to silence this warning
          if (he = id_get(optional_id,
                 ^
              (
pat_tcp.c:847:11: note: use '==' to turn this assignment into an equality comparison
          if (he = id_get(optional_id,
                 ^
                 ==
--- pat_subnet.o ---
10 warnings generated.
--- pat.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pat.c
--- patdef.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c patdef.c
--- pat.o ---
pat.c:29:14: warning: implicit declaration of function 'gmt2local' is invalid in C99 [-Wimplicit-function-declaration]
  pat_zone = gmt2local(0);
             ^
pat.c:87:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (str = getenv("PAT_VERB_LEVEL"))
      ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
pat.c:87:11: note: place parentheses around the assignment to silence this warning
  if (str = getenv("PAT_VERB_LEVEL"))
          ^
      (                             )
pat.c:87:11: note: use '==' to turn this assignment into an equality comparison
  if (str = getenv("PAT_VERB_LEVEL"))
          ^
          ==
--- pat_udp.o ---
pat_udp.c:360:6: warning: cast to 'void *' from smaller integer type 't_u32' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
                          (VOID_PTR)(t_u32)dport))
                          ^~~~~~~~~~~~~~~~~~~~~~
pat_udp.c:359:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          if (he = id_get(pat_udp_sub_id,
              ~~~^~~~~~~~~~~~~~~~~~~~~~~~
pat_udp.c:359:11: note: place parentheses around the assignment to silence this warning
          if (he = id_get(pat_udp_sub_id,
                 ^
              (
pat_udp.c:359:11: note: use '==' to turn this assignment into an equality comparison
          if (he = id_get(pat_udp_sub_id,
                 ^
                 ==
pat_udp.c:367:8: warning: cast to 'void *' from smaller integer type 't_u32' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
                            (VOID_PTR)(t_u32)sport))
                            ^~~~~~~~~~~~~~~~~~~~~~
pat_udp.c:366:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (he = id_get(pat_udp_sub_id,
                ~~~^~~~~~~~~~~~~~~~~~~~~~~~
pat_udp.c:366:13: note: place parentheses around the assignment to silence this warning
            if (he = id_get(pat_udp_sub_id,
                   ^
                (
pat_udp.c:366:13: note: use '==' to turn this assignment into an equality comparison
            if (he = id_get(pat_udp_sub_id,
                   ^
                   ==
--- nbgethost.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c nbgethost.c
--- pat.o ---
2 warnings generated.
--- pat_pat.o ---
1 warning generated.
--- pkt.o ---
--- pktio.o ---
--- pkt.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pkt.c
--- pktio.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pktio.c
--- pktsav.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c pktsav.c
--- paterr.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c paterr.c
--- patdef.o ---
patdef.c:52:6: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                          (VOID_PTR)i,
                          ^~~~~~~~~~~
patdef.c:130:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (he = id_get(optional_id,
          ~~~^~~~~~~~~~~~~~~~~~~~~
patdef.c:130:14: note: place parentheses around the assignment to silence this warning
      if (he = id_get(optional_id,
             ^
          (
patdef.c:130:14: note: use '==' to turn this assignment into an equality comparison
      if (he = id_get(optional_id,
             ^
             ==
patdef.c:132:6: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
        i = (int)(he->value);
            ^~~~~~~~~~~~~~~~
patdef.c:143:5: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                                (VOID_PTR)(++i))) != 0)
                                ^~~~~~~~~~~~~~~
patdef.c:251:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = id_get(id,
      ~~~^~~~~~~~~~~~
patdef.c:251:10: note: place parentheses around the assignment to silence this warning
  if (he = id_get(id,
         ^
      (
patdef.c:251:10: note: use '==' to turn this assignment into an equality comparison
  if (he = id_get(id,
         ^
         ==
patdef.c:253:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    i = (int)(he->value);
        ^~~~~~~~~~~~~~~~
patdef.c:263:8: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                            (VOID_PTR)(++i))) != 0)
                            ^~~~~~~~~~~~~~~
patdef.c:287:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = id_get(id,
      ~~~^~~~~~~~~~~~
patdef.c:287:10: note: place parentheses around the assignment to silence this warning
  if (he = id_get(id,
         ^
      (
patdef.c:287:10: note: use '==' to turn this assignment into an equality comparison
  if (he = id_get(id,
         ^
         ==
patdef.c:289:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    i = (int)(he->value);
        ^~~~~~~~~~~~~~~~
--- pat_udp.o ---
4 warnings generated.
--- gmt2local.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c gmt2local.c
--- pat_tcp.o ---
5 warnings generated.
--- Xmg.o ---
--- paterr.o ---
paterr.c:76:7: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                           (VOID_PTR)(ERR_PAT_START + i),
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- nbgethost.o ---
nbgethost.c:185:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          if (he = dict_get(inaddr_dict,str))
              ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
nbgethost.c:185:11: note: place parentheses around the assignment to silence this warning
          if (he = dict_get(inaddr_dict,str))
                 ^
              (                             )
nbgethost.c:185:11: note: use '==' to turn this assignment into an equality comparison
          if (he = dict_get(inaddr_dict,str))
                 ^
                 ==
nbgethost.c:243:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (he = dict_get(hostname_dict,inet_ntoa(*mba_inaddr)))
          ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nbgethost.c:243:14: note: place parentheses around the assignment to silence this warning
      if (he = dict_get(hostname_dict,inet_ntoa(*mba_inaddr)))
             ^
          (                                                  )
nbgethost.c:243:14: note: use '==' to turn this assignment into an equality comparison
      if (he = dict_get(hostname_dict,inet_ntoa(*mba_inaddr)))
             ^
             ==
nbgethost.c:249:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          if (hostentry = nbgethostbyaddr((char *)mba_inaddr,
              ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nbgethost.c:249:18: note: place parentheses around the assignment to silence this warning
          if (hostentry = nbgethostbyaddr((char *)mba_inaddr,
                        ^
              (
nbgethost.c:249:18: note: use '==' to turn this assignment into an equality comparison
          if (hostentry = nbgethostbyaddr((char *)mba_inaddr,
                        ^
                        ==
--- pktio.o ---
pktio.c:103:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                sizeof (t_pkt_io));
                ^~~~~~~~~~~~~~~~~
pktio.c:138:17: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
            patnamebuf,strlen(patnamebuf),patnamelen);
                       ^~~~~~~~~~~~~~~~~~
--- paterr.o ---
1 warning generated.
--- patdef.o ---
9 warnings generated.
--- Xmg.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c Xmg.c
--- XmgAction.o ---
--- pkt.o ---
pkt.c:882:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (ptr = index(str,'.'))
      ~~~~^~~~~~~~~~~~~~~~
pkt.c:882:11: note: place parentheses around the assignment to silence this warning
  if (ptr = index(str,'.'))
          ^
      (                   )
pkt.c:882:11: note: use '==' to turn this assignment into an equality comparison
  if (ptr = index(str,'.'))
          ^
          ==
pkt.c:1073:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (he = dict_get(pfdd->extra_vars,var))
                ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pkt.c:1073:13: note: place parentheses around the assignment to silence this warning
            if (he = dict_get(pfdd->extra_vars,var))
                   ^
                (                                  )
pkt.c:1073:13: note: use '==' to turn this assignment into an equality comparison
            if (he = dict_get(pfdd->extra_vars,var))
                   ^
                   ==
--- XmgAction.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c XmgAction.c
--- XmgCvt.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c XmgCvt.c
--- pktio.o ---
2 warnings generated.
--- XmgDict.o ---
--- XmgErr.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c XmgErr.c
--- nbgethost.o ---
3 warnings generated.
--- XmgDict.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c XmgDict.c
--- XmgFancy.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c XmgFancy.c
--- XmgFileGet.o ---
--- Xmg.o ---
Xmg.c:113:3: warning: implicit declaration of function 'XmgRegisterConverters' is invalid in C99 [-Wimplicit-function-declaration]
  XmgRegisterConverters();
  ^
Xmg.c:121:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
--- XmgFileGet.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c XmgFileGet.c
--- XmgErr.o ---
XmgErr.c:40:7: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                           (VOID_PTR)(ERR_XMG_START + i),
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgErr.c:75:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (err = err_msg(errcode))
      ~~~~^~~~~~~~~~~~~~~~~~
XmgErr.c:75:11: note: place parentheses around the assignment to silence this warning
  if (err = err_msg(errcode))
          ^
      (                     )
XmgErr.c:75:11: note: use '==' to turn this assignment into an equality comparison
  if (err = err_msg(errcode))
          ^
          ==
--- Xmg.o ---
2 warnings generated.
--- XmgI.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c XmgI.c
--- XmgErr.o ---
2 warnings generated.
--- XmgMacro.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c XmgMacro.c
--- XmgCvt.o ---
XmgCvt.c:200:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (assoc = assoc_str_ptr_from_nleft(XmgGCMembersAssoc,member))
          ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgCvt.c:200:17: note: place parentheses around the assignment to silence this warning
      if (assoc = assoc_str_ptr_from_nleft(XmgGCMembersAssoc,member))
                ^
          (                                                         )
XmgCvt.c:200:17: note: use '==' to turn this assignment into an equality comparison
      if (assoc = assoc_str_ptr_from_nleft(XmgGCMembersAssoc,member))
                ^
                ==
XmgCvt.c:226:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (assoc = assoc_str_ptr_from_left(XmgGCFunctionAssoc,value))
                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgCvt.c:226:16: note: place parentheses around the assignment to silence this warning
            if (assoc = assoc_str_ptr_from_left(XmgGCFunctionAssoc,value))
                      ^
                (                                                        )
XmgCvt.c:226:16: note: use '==' to turn this assignment into an equality comparison
            if (assoc = assoc_str_ptr_from_left(XmgGCFunctionAssoc,value))
                      ^
                      ==
XmgCvt.c:228:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
                xgcv.function = (int)(assoc->right);
                                ^~~~~~~~~~~~~~~~~~~
XmgCvt.c:297:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (assoc = assoc_str_ptr_from_left(XmgGCLineStyleAssoc,value))
                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgCvt.c:297:16: note: place parentheses around the assignment to silence this warning
            if (assoc = assoc_str_ptr_from_left(XmgGCLineStyleAssoc,value))
                      ^
                (                                                         )
XmgCvt.c:297:16: note: use '==' to turn this assignment into an equality comparison
            if (assoc = assoc_str_ptr_from_left(XmgGCLineStyleAssoc,value))
                      ^
                      ==
XmgCvt.c:299:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
                xgcv.line_style = (int)(assoc->right);
                                  ^~~~~~~~~~~~~~~~~~~
XmgCvt.c:311:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (assoc = assoc_str_ptr_from_left(XmgGCCapStyleAssoc,value))
                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgCvt.c:311:16: note: place parentheses around the assignment to silence this warning
            if (assoc = assoc_str_ptr_from_left(XmgGCCapStyleAssoc,value))
                      ^
                (                                                        )
XmgCvt.c:311:16: note: use '==' to turn this assignment into an equality comparison
            if (assoc = assoc_str_ptr_from_left(XmgGCCapStyleAssoc,value))
                      ^
                      ==
XmgCvt.c:313:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
                xgcv.cap_style = (int)(assoc->right);
                                 ^~~~~~~~~~~~~~~~~~~
XmgCvt.c:325:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (assoc = assoc_str_ptr_from_left(XmgGCJoinStyleAssoc,value))
                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgCvt.c:325:16: note: place parentheses around the assignment to silence this warning
            if (assoc = assoc_str_ptr_from_left(XmgGCJoinStyleAssoc,value))
                      ^
                (                                                         )
XmgCvt.c:325:16: note: use '==' to turn this assignment into an equality comparison
            if (assoc = assoc_str_ptr_from_left(XmgGCJoinStyleAssoc,value))
                      ^
                      ==
XmgCvt.c:327:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
                xgcv.join_style = (int)(assoc->right);
                                  ^~~~~~~~~~~~~~~~~~~
XmgCvt.c:339:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (assoc = assoc_str_ptr_from_left(XmgGCFillStyleAssoc,value))
                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgCvt.c:339:16: note: place parentheses around the assignment to silence this warning
            if (assoc = assoc_str_ptr_from_left(XmgGCFillStyleAssoc,value))
                      ^
                (                                                         )
XmgCvt.c:339:16: note: use '==' to turn this assignment into an equality comparison
            if (assoc = assoc_str_ptr_from_left(XmgGCFillStyleAssoc,value))
                      ^
                      ==
XmgCvt.c:341:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
                xgcv.fill_style = (int)(assoc->right);
                                  ^~~~~~~~~~~~~~~~~~~
XmgCvt.c:353:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (assoc = assoc_str_ptr_from_left(XmgGCFillRuleAssoc,value))
                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgCvt.c:353:16: note: place parentheses around the assignment to silence this warning
            if (assoc = assoc_str_ptr_from_left(XmgGCFillRuleAssoc,value))
                      ^
                (                                                        )
XmgCvt.c:353:16: note: use '==' to turn this assignment into an equality comparison
            if (assoc = assoc_str_ptr_from_left(XmgGCFillRuleAssoc,value))
                      ^
                      ==
XmgCvt.c:355:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
                xgcv.fill_rule = (int)(assoc->right);
                                 ^~~~~~~~~~~~~~~~~~~
XmgCvt.c:367:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (assoc = assoc_str_ptr_from_left(XmgGCArcModeAssoc,value))
                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgCvt.c:367:16: note: place parentheses around the assignment to silence this warning
            if (assoc = assoc_str_ptr_from_left(XmgGCArcModeAssoc,value))
                      ^
                (                                                       )
XmgCvt.c:367:16: note: use '==' to turn this assignment into an equality comparison
            if (assoc = assoc_str_ptr_from_left(XmgGCArcModeAssoc,value))
                      ^
                      ==
XmgCvt.c:369:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
                xgcv.arc_mode = (int)(assoc->right);
                                ^~~~~~~~~~~~~~~~~~~
XmgCvt.c:513:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (assoc = assoc_str_ptr_from_left(XmgGCSubwindowModeAssoc,value))
                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgCvt.c:513:16: note: place parentheses around the assignment to silence this warning
            if (assoc = assoc_str_ptr_from_left(XmgGCSubwindowModeAssoc,value))
                      ^
                (                                                             )
XmgCvt.c:513:16: note: use '==' to turn this assignment into an equality comparison
            if (assoc = assoc_str_ptr_from_left(XmgGCSubwindowModeAssoc,value))
                      ^
                      ==
XmgCvt.c:515:25: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
                xgcv.subwindow_mode = (int)(assoc->right);
                                      ^~~~~~~~~~~~~~~~~~~
--- XmgDict.o ---
XmgDict.c:28:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = dict_get(XmgXFSDict,name))
      ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgDict.c:28:10: note: place parentheses around the assignment to silence this warning
  if (he = dict_get(XmgXFSDict,name))
         ^
      (                             )
XmgDict.c:28:10: note: use '==' to turn this assignment into an equality comparison
  if (he = dict_get(XmgXFSDict,name))
         ^
         ==
XmgDict.c:46:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = dict_get(XmgXFSDict,name))
      ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgDict.c:46:10: note: place parentheses around the assignment to silence this warning
  if (he = dict_get(XmgXFSDict,name))
         ^
      (                             )
XmgDict.c:46:10: note: use '==' to turn this assignment into an equality comparison
  if (he = dict_get(XmgXFSDict,name))
         ^
         ==
XmgDict.c:67:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = dict_get(XmgPixelDict,name))
      ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgDict.c:67:10: note: place parentheses around the assignment to silence this warning
  if (he = dict_get(XmgPixelDict,name))
         ^
      (                               )
XmgDict.c:67:10: note: use '==' to turn this assignment into an equality comparison
  if (he = dict_get(XmgPixelDict,name))
         ^
         ==
XmgDict.c:118:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = dict_get(XmgPixelDict,name))
      ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgDict.c:118:10: note: place parentheses around the assignment to silence this warning
  if (he = dict_get(XmgPixelDict,name))
         ^
      (                               )
XmgDict.c:118:10: note: use '==' to turn this assignment into an equality comparison
  if (he = dict_get(XmgPixelDict,name))
         ^
         ==
XmgDict.c:154:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = dict_get(XmgPixmapDict,name))
      ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgDict.c:154:10: note: place parentheses around the assignment to silence this warning
  if (he = dict_get(XmgPixmapDict,name))
         ^
      (                                )
XmgDict.c:154:10: note: use '==' to turn this assignment into an equality comparison
  if (he = dict_get(XmgPixmapDict,name))
         ^
         ==
XmgDict.c:212:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (he = dict_get(XmgPixmapDict,name))
      ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgDict.c:212:10: note: place parentheses around the assignment to silence this warning
  if (he = dict_get(XmgPixmapDict,name))
         ^
      (                                )
XmgDict.c:212:10: note: use '==' to turn this assignment into an equality comparison
  if (he = dict_get(XmgPixmapDict,name))
         ^
         ==
XmgDict.c:409:45: warning: format specifies type 'unsigned int' but the argument has type 'Pixmap' (aka 'unsigned long') [-Wformat]
      fprintf(stderr,"\t%d %x\n",xpr->depth,xpr->pixmap);
                           ~~               ^~~~~~~~~~~
                           %lx
--- XmgFileGet.o ---
XmgFileGet.c:45:7: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
      XmgErrPrint(toplevel,status,"str_cat_str");
      ^
XmgFileGet.c:52:7: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
      XmgErrPrint(toplevel,status,"str_cat_str");
      ^
XmgFileGet.c:87:5: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                  CALLBACK(XtNselectCallback,
                  ^
./XmgMacro.h:77:24: note: expanded from macro 'CALLBACK'
                                        (XtPointer)(Dat)),DONE
                                                          ^
./XmgMacro.h:73:17: note: expanded from macro 'DONE'
#define DONE                            XmgMacroNothing( NULL
                                        ^
XmgFileGet.c:97:7: warning: implicit declaration of function 'XmgCenterWidget' is invalid in C99 [-Wimplicit-function-declaration]
      XmgCenterWidget(xmg_filenom_shell);
      ^
--- XmgI.o ---
XmgI.c:30:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (str = getenv("XMG_VERB_LEVEL"))
      ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
XmgI.c:30:11: note: place parentheses around the assignment to silence this warning
  if (str = getenv("XMG_VERB_LEVEL"))
          ^
      (                             )
XmgI.c:30:11: note: use '==' to turn this assignment into an equality comparison
  if (str = getenv("XMG_VERB_LEVEL"))
          ^
          ==
--- XmgMessage.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c XmgMessage.c
--- XmgI.o ---
1 warning generated.
--- XmgPrompt.o ---
--- XmgFileGet.o ---
4 warnings generated.
--- XmgPrompt.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c XmgPrompt.c
--- XmgPulldown.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c XmgPulldown.c
--- XmgCvt.o ---
17 warnings generated.
--- XmgMacro.o ---
XmgMacro.c:459:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (ptr = va_arg(ap,VOID_PTR))
         ~~~~^~~~~~~~~~~~~~~~~~~~~
XmgMacro.c:459:14: note: place parentheses around the assignment to silence this warning
  while (ptr = va_arg(ap,VOID_PTR))
             ^
         (                        )
XmgMacro.c:459:14: note: use '==' to turn this assignment into an equality comparison
  while (ptr = va_arg(ap,VOID_PTR))
             ^
             ==
--- SmeBSBM.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c SmeBSBM.c
--- pkt.o ---
2 warnings generated.
--- XmgFancy.o ---
XmgFancy.c:409:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (found_link = get_link(self,event,elt))
                ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
XmgFancy.c:409:21: note: place parentheses around the assignment to silence this warning
            if (found_link = get_link(self,event,elt))
                           ^
                (                                    )
XmgFancy.c:409:21: note: use '==' to turn this assignment into an equality comparison
            if (found_link = get_link(self,event,elt))
                           ^
                           ==
XmgFancy.c:401:15: warning: 27 enumeration values not handled in switch: 'ELT_BR', 'ELT_STR', 'ELT_NOP'... [-Wswitch]
      switch (elt->type)
              ^
XmgFancy.c:443:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (found_table = get_table(self,event,elt))
                ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgFancy.c:443:22: note: place parentheses around the assignment to silence this warning
            if (found_table = get_table(self,event,elt))
                            ^
                (                                      )
XmgFancy.c:443:22: note: use '==' to turn this assignment into an equality comparison
            if (found_table = get_table(self,event,elt))
                            ^
                            ==
XmgFancy.c:435:15: warning: 28 enumeration values not handled in switch: 'ELT_BR', 'ELT_STR', 'ELT_NOP'... [-Wswitch]
      switch (elt->type)
              ^
XmgFancy.c:477:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (found_table = get_table_from_xy(self,x,y,elt))
                ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgFancy.c:477:22: note: place parentheses around the assignment to silence this warning
            if (found_table = get_table_from_xy(self,x,y,elt))
                            ^
                (                                            )
XmgFancy.c:477:22: note: use '==' to turn this assignment into an equality comparison
            if (found_table = get_table_from_xy(self,x,y,elt))
                            ^
                            ==
XmgFancy.c:469:15: warning: 28 enumeration values not handled in switch: 'ELT_BR', 'ELT_STR', 'ELT_NOP'... [-Wswitch]
      switch (elt->type)
              ^
XmgFancy.c:512:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (found_elt = get_elt(self,event,elt))
                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
XmgFancy.c:512:20: note: place parentheses around the assignment to silence this warning
            if (found_elt = get_elt(self,event,elt))
                          ^
                (                                  )
XmgFancy.c:512:20: note: use '==' to turn this assignment into an equality comparison
            if (found_elt = get_elt(self,event,elt))
                          ^
                          ==
XmgFancy.c:560:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (child = get_child_from_widget(elt,w))
                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgFancy.c:560:16: note: place parentheses around the assignment to silence this warning
            if (child = get_child_from_widget(elt,w))
                      ^
                (                                   )
XmgFancy.c:560:16: note: use '==' to turn this assignment into an equality comparison
            if (child = get_child_from_widget(elt,w))
                      ^
                      ==
XmgFancy.c:552:15: warning: 27 enumeration values not handled in switch: 'ELT_BR', 'ELT_STR', 'ELT_NOP'... [-Wswitch]
      switch (elt->type)
              ^
XmgFancy.c:591:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (child = get_next_widget_child(elt,ref,next_is_ok))
                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgFancy.c:591:16: note: place parentheses around the assignment to silence this warning
            if (child = get_next_widget_child(elt,ref,next_is_ok))
                      ^
                (                                                )
XmgFancy.c:591:16: note: use '==' to turn this assignment into an equality comparison
            if (child = get_next_widget_child(elt,ref,next_is_ok))
                      ^
                      ==
XmgFancy.c:583:15: warning: 27 enumeration values not handled in switch: 'ELT_BR', 'ELT_STR', 'ELT_NOP'... [-Wswitch]
      switch (elt->type)
              ^
XmgFancy.c:833:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
              if (ptr = index(arg,'%'))
                  ~~~~^~~~~~~~~~~~~~~~
XmgFancy.c:833:16: note: place parentheses around the assignment to silence this warning
              if (ptr = index(arg,'%'))
                      ^
                  (                   )
XmgFancy.c:833:16: note: use '==' to turn this assignment into an equality comparison
              if (ptr = index(arg,'%'))
                      ^
                      ==
XmgFancy.c:996:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          if (ptr = index(arg,'%'))
              ~~~~^~~~~~~~~~~~~~~~
XmgFancy.c:996:12: note: place parentheses around the assignment to silence this warning
          if (ptr = index(arg,'%'))
                  ^
              (                   )
XmgFancy.c:996:12: note: use '==' to turn this assignment into an equality comparison
          if (ptr = index(arg,'%'))
                  ^
                  ==
--- XmgDict.o ---
7 warnings generated.
--- XmgFancy.o ---
XmgFancy.c:1945:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (elt->title = FANCY.next_str_is_a_title)
          ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgFancy.c:1945:22: note: place parentheses around the assignment to silence this warning
      if (elt->title = FANCY.next_str_is_a_title)
                     ^
          (                                     )
XmgFancy.c:1945:22: note: use '==' to turn this assignment into an equality comparison
      if (elt->title = FANCY.next_str_is_a_title)
                     ^
                     ==
XmgFancy.c:1971:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (parent = get_parent(self))
          ~~~~~~~^~~~~~~~~~~~~~~~~~
XmgFancy.c:1971:18: note: place parentheses around the assignment to silence this warning
      if (parent = get_parent(self))
                 ^
          (                        )
XmgFancy.c:1971:18: note: use '==' to turn this assignment into an equality comparison
      if (parent = get_parent(self))
                 ^
                 ==
XmgFancy.c:1980:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (parent = get_parent(self))
            ~~~~~~~^~~~~~~~~~~~~~~~~~
XmgFancy.c:1980:13: note: place parentheses around the assignment to silence this warning
        if (parent = get_parent(self))
                   ^
            (                        )
XmgFancy.c:1980:13: note: use '==' to turn this assignment into an equality comparison
        if (parent = get_parent(self))
                   ^
                   ==
XmgFancy.c:1990:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          if (parent = get_parent(self))
              ~~~~~~~^~~~~~~~~~~~~~~~~~
XmgFancy.c:1990:15: note: place parentheses around the assignment to silence this warning
          if (parent = get_parent(self))
                     ^
              (                        )
XmgFancy.c:1990:15: note: use '==' to turn this assignment into an equality comparison
          if (parent = get_parent(self))
                     ^
                     ==
XmgFancy.c:2003:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                    if (parent = get_parent(self))
                        ~~~~~~~^~~~~~~~~~~~~~~~~~
XmgFancy.c:2003:18: note: place parentheses around the assignment to silence this warning
                    if (parent = get_parent(self))
                               ^
                        (                        )
XmgFancy.c:2003:18: note: use '==' to turn this assignment into an equality comparison
                    if (parent = get_parent(self))
                               ^
                               ==
--- Xws.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c Xws.c
--- Tabs.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c Tabs.c
--- XmgFancy.o ---
XmgFancy.c:2065:11: warning: 24 enumeration values not handled in switch: 'ELT_BR', 'ELT_NOP', 'ELT_EMPTY_CELL'... [-Wswitch]
  switch (elt->type)
          ^
--- XmgMacro.o ---
1 warning generated.
--- TextField.o ---
--- XmgPrompt.o ---
XmgPrompt.c:59:7: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                    END),
                    ^
./XmgMacro.h:62:6: note: expanded from macro 'END'
                                        XmgMacroNothing( XmgMacroNothing(
                                        ^
--- TextField.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c TextField.c
--- XmgPrompt.o ---
XmgPrompt.c:89:3: warning: implicit declaration of function 'XmgCenterWidget' is invalid in C99 [-Wimplicit-function-declaration]
  XmgCenterWidget(shell);
  ^
XmgPrompt.c:90:3: warning: implicit declaration of function 'XmgSetDestroyOnDelete' is invalid in C99 [-Wimplicit-function-declaration]
  XmgSetDestroyOnDelete(shell);
  ^
XmgPrompt.c:128:7: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                    END),
                    ^
./XmgMacro.h:62:6: note: expanded from macro 'END'
                                        XmgMacroNothing( XmgMacroNothing(
                                        ^
XmgPrompt.c:155:3: warning: implicit declaration of function 'XmgCenterWidget' is invalid in C99 [-Wimplicit-function-declaration]
  XmgCenterWidget(shell);
  ^
XmgPrompt.c:156:3: warning: implicit declaration of function 'XmgSetDestroyOnDelete' is invalid in C99 [-Wimplicit-function-declaration]
  XmgSetDestroyOnDelete(shell);
  ^
--- XmgFancy.o ---
XmgFancy.c:2130:15: warning: 26 enumeration values not handled in switch: 'ELT_BR', 'ELT_STR', 'ELT_NOP'... [-Wswitch]
      switch (elt->type)
              ^
--- XmgPrompt.o ---
XmgPrompt.c:194:7: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                    END),
                    ^
./XmgMacro.h:62:6: note: expanded from macro 'END'
                                        XmgMacroNothing( XmgMacroNothing(
                                        ^
--- XmgFancy.o ---
XmgFancy.c:2245:15: warning: 26 enumeration values not handled in switch: 'ELT_BR', 'ELT_STR', 'ELT_NOP'... [-Wswitch]
      switch (elt->type)
              ^
XmgFancy.c:2312:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (radio_elt = get_radio_by_name_different_from(elt,
                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgFancy.c:2312:20: note: place parentheses around the assignment to silence this warning
            if (radio_elt = get_radio_by_name_different_from(elt,
                          ^
                (
XmgFancy.c:2312:20: note: use '==' to turn this assignment into an equality comparison
            if (radio_elt = get_radio_by_name_different_from(elt,
                          ^
                          ==
XmgFancy.c:2304:15: warning: 27 enumeration values not handled in switch: 'ELT_BR', 'ELT_STR', 'ELT_NOP'... [-Wswitch]
      switch (elt->type)
              ^
--- XmgPrompt.o ---
XmgPrompt.c:222:3: warning: implicit declaration of function 'XmgCenterWidget' is invalid in C99 [-Wimplicit-function-declaration]
  XmgCenterWidget(shell);
  ^
XmgPrompt.c:223:3: warning: implicit declaration of function 'XmgSetDestroyOnDelete' is invalid in C99 [-Wimplicit-function-declaration]
  XmgSetDestroyOnDelete(shell);
  ^
--- XmgMessage.o ---
XmgMessage.c:50:21: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                    END),
                    ^
./XmgMacro.h:62:6: note: expanded from macro 'END'
                                        XmgMacroNothing( XmgMacroNothing(
                                        ^
XmgMessage.c:61:3: warning: implicit declaration of function 'XmgCenterWidget' is invalid in C99 [-Wimplicit-function-declaration]
  XmgCenterWidget(shell);
  ^
XmgMessage.c:62:3: warning: implicit declaration of function 'XmgSetDestroyOnDelete' is invalid in C99 [-Wimplicit-function-declaration]
  XmgSetDestroyOnDelete(shell);
  ^
--- XmgFancy.o ---
XmgFancy.c:2881:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                        if (other_radio_elt =
                            ~~~~~~~~~~~~~~~~^
XmgFancy.c:2881:24: note: place parentheses around the assignment to silence this warning
                        if (other_radio_elt =
                                            ^
                            (
XmgFancy.c:2881:24: note: use '==' to turn this assignment into an equality comparison
                        if (other_radio_elt =
                                            ^
                                            ==
XmgFancy.c:2368:15: warning: 4 enumeration values not handled in switch: 'ELT_NOP', 'ELT_ROOT', 'ELT_FORM'... [-Wswitch]
      switch (elt->type)
              ^
XmgFancy.c:3066:15: warning: 30 enumeration values not handled in switch: 'ELT_BR', 'ELT_STR', 'ELT_NOP'... [-Wswitch]
      switch (elt->type)
              ^
XmgFancy.c:3108:15: warning: 30 enumeration values not handled in switch: 'ELT_BR', 'ELT_STR', 'ELT_NOP'... [-Wswitch]
      switch (elt->type)
              ^
XmgFancy.c:3292:11: warning: 21 enumeration values not handled in switch: 'ELT_BR', 'ELT_NOP', 'ELT_EMPTY_CELL'... [-Wswitch]
  switch (elt->type)
          ^
XmgFancy.c:3671:15: warning: 21 enumeration values not handled in switch: 'ELT_BR', 'ELT_NOP', 'ELT_EMPTY_CELL'... [-Wswitch]
      switch (elt->type)
              ^
XmgFancy.c:4449:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (table = get_table(self,event,FANCY.root_elt))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgFancy.c:4449:13: note: place parentheses around the assignment to silence this warning
  if (table = get_table(self,event,FANCY.root_elt))
            ^
      (                                           )
XmgFancy.c:4449:13: note: use '==' to turn this assignment into an equality comparison
  if (table = get_table(self,event,FANCY.root_elt))
            ^
            ==
XmgFancy.c:4516:43: warning: too few arguments in call to 'fancy_strdup'
        nselection = fancy_strdup(FANCY.selection); 
                     ~~~~~~~~~~~~                ^
--- XmgMessage.o ---
3 warnings generated.
--- XmgFancy.o ---
XmgFancy.c:4714:10: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                       END),
                       ^
./XmgMacro.h:62:6: note: expanded from macro 'END'
                                        XmgMacroNothing( XmgMacroNothing(
                                        ^
XmgFancy.c:4718:7: warning: implicit declaration of function 'XmgSetDestroyOnDelete' is invalid in C99 [-Wimplicit-function-declaration]
      XmgSetDestroyOnDelete(shell);
      ^
--- XmgPrompt.o ---
9 warnings generated.
--- ScrollText.o ---
--- XmgFancy.o ---
XmgFancy.c:5262:12: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Position' (aka 'short') declared in a previous prototype [-Wknr-promoted-parameter]
Position                        x;
                                ^
./XmgFancy.h:78:32: note: previous declaration is here
    Position            /* x */,
                               ^
XmgFancy.c:5263:12: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Position' (aka 'short') declared in a previous prototype [-Wknr-promoted-parameter]
Position                        y;
                                ^
./XmgFancy.h:82:1: note: previous declaration is here
);
^
XmgFancy.c:5267:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (table = get_table_from_xy(self,x,y,FANCY.root_elt))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XmgFancy.c:5267:13: note: place parentheses around the assignment to silence this warning
  if (table = get_table_from_xy(self,x,y,FANCY.root_elt))
            ^
      (                                                 )
XmgFancy.c:5267:13: note: use '==' to turn this assignment into an equality comparison
  if (table = get_table_from_xy(self,x,y,FANCY.root_elt))
            ^
            ==
--- Gcs.o ---
--- ScrollText.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c ScrollText.c
--- Gcs.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c Gcs.c
--- FileNom.o ---
--- XmgPulldown.o ---
XmgPulldown.c:74:14: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                                                                            CALLBACK(XtNcallback,(XtCallbackProc)proc,pulldown),
                                                                            ^
./XmgMacro.h:77:24: note: expanded from macro 'CALLBACK'
                                        (XtPointer)(Dat)),DONE
                                                          ^
./XmgMacro.h:73:17: note: expanded from macro 'DONE'
#define DONE                            XmgMacroNothing( NULL
                                        ^
XmgPulldown.c:68:13: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                                               INSERTCODE(
                                               ^
./XmgMacro.h:119:30: note: expanded from macro 'INSERTCODE'
#define INSERTCODE(x)                   DO;x;DONE
                                             ^
./XmgMacro.h:73:17: note: expanded from macro 'DONE'
#define DONE                            XmgMacroNothing( NULL
                                        ^
XmgPulldown.c:63:14: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
             INSERTCODE(
             ^
./XmgMacro.h:119:30: note: expanded from macro 'INSERTCODE'
#define INSERTCODE(x)                   DO;x;DONE
                                             ^
./XmgMacro.h:73:17: note: expanded from macro 'DONE'
#define DONE                            XmgMacroNothing( NULL
                                        ^
--- FileNom.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c FileNom.c
--- XmgPulldown.o ---
XmgPulldown.c:144:11: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                                                                  CALLBACK(XtNcallback,(XtCallbackProc)proc,pulldown),
                                                                  ^
./XmgMacro.h:77:24: note: expanded from macro 'CALLBACK'
                                        (XtPointer)(Dat)),DONE
                                                          ^
./XmgMacro.h:73:17: note: expanded from macro 'DONE'
#define DONE                            XmgMacroNothing( NULL
                                        ^
XmgPulldown.c:136:10: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                                     INSERTCODE(
                                     ^
./XmgMacro.h:119:30: note: expanded from macro 'INSERTCODE'
#define INSERTCODE(x)                   DO;x;DONE
                                             ^
./XmgMacro.h:73:17: note: expanded from macro 'DONE'
#define DONE                            XmgMacroNothing( NULL
                                        ^
XmgPulldown.c:124:14: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
             INSERTCODE(
             ^
./XmgMacro.h:119:30: note: expanded from macro 'INSERTCODE'
#define INSERTCODE(x)                   DO;x;DONE
                                             ^
./XmgMacro.h:73:17: note: expanded from macro 'DONE'
#define DONE                            XmgMacroNothing( NULL
                                        ^
--- Tabs.o ---
Tabs.c:803:14: warning: enumeration value 'XtGeometryDone' not handled in switch [-Wswitch]
            switch( result ) {
                    ^
--- XmgPulldown.o ---
XmgPulldown.c:244:12: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                                                                          CALLBACK(XtNcallback,(XtCallbackProc)proc,pulldown),
                                                                          ^
./XmgMacro.h:77:24: note: expanded from macro 'CALLBACK'
                                        (XtPointer)(Dat)),DONE
                                                          ^
./XmgMacro.h:73:17: note: expanded from macro 'DONE'
#define DONE                            XmgMacroNothing( NULL
                                        ^
XmgPulldown.c:236:46: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                                             INSERTCODE(
                                             ^
./XmgMacro.h:119:30: note: expanded from macro 'INSERTCODE'
#define INSERTCODE(x)                   DO;x;DONE
                                             ^
./XmgMacro.h:73:17: note: expanded from macro 'DONE'
#define DONE                            XmgMacroNothing( NULL
                                        ^
--- Tabs.o ---
Tabs.c:1162:2: warning: implicit declaration of function 'Draw3dBox' is invalid in C99 [-Wimplicit-function-declaration]
        Draw3dBox((Widget)tw, 0,tw->tabs.tab_total,
        ^
--- XmgPulldown.o ---
8 warnings generated.
--- match.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c match.c
--- Viewlist.o ---
--- FileNom.o ---
FileNom.c:811:54: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
    XtAddCallback(menuEntry, XtNcallback, ChangeDir, (XtPointer) menuItem++);
                                                     ^~~~~~~~~~~~~~~~~~~~~~
FileNom.c:824:9: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                      (XtPointer) menuItem++);
                      ^~~~~~~~~~~~~~~~~~~~~~
FileNom.c:905:26: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
    ChangeDirectory(fnw, (int) client_data);
                         ^~~~~~~~~~~~~~~~~
--- TextField.o ---
TextField.c:935:34: warning: expression which evaluates to zero treated as a null pointer constant of type 'XtIntervalId *' (aka 'unsigned long *') [-Wnon-literal-null-conversion]
      ExtendTimer((XtPointer) w, (XtIntervalId) 0);
                                 ^~~~~~~~~~~~~~~~
TextField.c:1039:25: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
    w->text.CursorPos = (int) client;
                        ^~~~~~~~~~~~
TextField.c:1066:5: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
    (XtPointer) pos, event->xbutton.time);
    ^~~~~~~~~~~~~~~
--- FileNom.o ---
FileNom.c:1059:19: warning: incompatible pointer types passing 'Widget' (aka 'struct _WidgetRec *') to parameter of type 'FileNominatorWidget' (aka 'struct _FileNominatorRec *') [-Wincompatible-pointer-types]
                ChangeDirectory(fnw, 0);
                                ^~~
FileNom.c:1098:19: warning: incompatible pointer types passing 'Widget' (aka 'struct _WidgetRec *') to parameter of type 'FileNominatorWidget' (aka 'struct _FileNominatorRec *') [-Wincompatible-pointer-types]
                ChangeDirectory(fnw, 0);
                                ^~~
FileNom.c:1239:2: warning: implicit declaration of function 'XawViewportSetLocation' is invalid in C99 [-Wimplicit-function-declaration]
        XawViewportSetLocation(Child(fnw,viewport), 0.0, 0.0);
        ^
FileNom.c:1287:22: warning: incompatible pointer types passing 'Widget' (aka 'struct _WidgetRec *') to parameter of type 'FileNominatorWidget' (aka 'struct _FileNominatorRec *') [-Wincompatible-pointer-types]
    PositionChildren(fnw);
                     ^~~
FileNom.c:1488:21: warning: incompatible pointer types passing 'Widget' (aka 'struct _WidgetRec *') to parameter of type 'FileNominatorWidget' (aka 'struct _FileNominatorRec *') [-Wincompatible-pointer-types]
    ChangeDirectory(fnw, 0);
                    ^~~
--- xipcap.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c xipcap.c
--- Viewlist.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c Viewlist.c
--- match.o ---
match.c:66:10: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
                return streq(p, s);
                       ^
match.c:57:38: note: expanded from macro 'streq'
#define streq(x, y) (*(x) == *(y) && strcmp(x, y) == 0)
                                     ^
match.c:66:10: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
match.c:57:38: note: expanded from macro 'streq'
#define streq(x, y) (*(x) == *(y) && strcmp(x, y) == 0)
                                     ^
1 warning generated.
--- xipcust.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c xipcust.c
--- xipcap.o ---
xipcap.c:123:18: warning: implicit declaration of function 'xip_shortcuts_html_do' is invalid in C99 [-Wimplicit-function-declaration]
          if ((status = xip_shortcuts_html_do(&pkt,
                        ^
xipcap.c:134:4: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
          XmgErrPrint(toplevel,status,"pkt_dup");
          ^
xipcap.c:142:2: warning: implicit declaration of function 'XipCreateSmallPkt' is invalid in C99 [-Wimplicit-function-declaration]
        XipCreateSmallPkt(npkt,
        ^
xipcap.c:171:7: warning: implicit declaration of function 'pcap_read' is invalid in C99 [-Wimplicit-function-declaration]
  if (pcap_read(pcap,
      ^
xipcap.c:227:18: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
        if ((pcap_dev = pcap_lookupdev(errbuf)) == NULL)
                        ^
/usr/include/pcap.h:333:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here
PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device");
^
/usr/include/pcap/funcattrs.h:227:53: note: expanded from macro 'PCAP_DEPRECATED'
  #define PCAP_DEPRECATED(func, msg)    __attribute__((deprecated(msg)))
                                                       ^
xipcap.c:283:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                  if (buf = (char *)pcap_next(pcap,&pp))
                      ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xipcap.c:283:13: note: place parentheses around the assignment to silence this warning
                  if (buf = (char *)pcap_next(pcap,&pp))
                          ^
                      (                                )
xipcap.c:283:13: note: use '==' to turn this assignment into an equality comparison
                  if (buf = (char *)pcap_next(pcap,&pp))
                          ^
                          ==
--- xiperr.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c xiperr.c
--- xipimg.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c xipimg.c
--- xipcap.o ---
6 warnings generated.
--- xipnet.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c xipnet.c
--- xiperr.o ---
xiperr.c:53:7: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                           (VOID_PTR)(ERR_XIP_START + i),
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- Tabs.o ---
2 warnings generated.
--- xippkt.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c xippkt.c
--- xiperr.o ---
1 warning generated.
--- xiprepl.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c xiprepl.c
--- FileNom.o ---
8 warnings generated.
--- xipres.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c xipres.c
--- xipcust.o ---
xipcust.c:68:7: warning: implicit declaration of function 'waitpid' is invalid in C99 [-Wimplicit-function-declaration]
      waitpid(custom_pid,&custom_status,NULL);
      ^
1 warning generated.
--- xipnet.o ---
xipnet.c:66:7: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                  xmd->xp->pkt->buf,
                                  ^~~~~~~~~~~~~~~~~
/data/scratch/net/xipdump/work/.buildlink/include/libnet10/./libnet/libnet-functions.h:535:13: note: passing argument to parameter here
    u_char *,           /* Pointer the u_char buf (the packet)to be written */
            ^
--- xippkt.o ---
xippkt.c:120:4: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
          XmgErrPrint(SHELL_OR_TOPLEVEL(own_xmd),
          ^
xippkt.c:132:7: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
      XmgErrPrint(SHELL_OR_TOPLEVEL(own_xmd),
      ^
xippkt.c:154:4: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
          XmgErrPrint(SHELL_OR_TOPLEVEL(own_xmd),
          ^
xippkt.c:204:4: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
          XmgErrPrint(SHELL_OR_TOPLEVEL(own_xmd),
          ^
xippkt.c:216:7: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
      XmgErrPrint(SHELL_OR_TOPLEVEL(own_xmd),
      ^
--- xipshcut.o ---
--- xippkt.o ---
xippkt.c:238:4: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
          XmgErrPrint(SHELL_OR_TOPLEVEL(own_xmd),
          ^
xippkt.c:348:4: warning: implicit declaration of function 'XmgShowPromptComplexPulldownBox' is invalid in C99 [-Wimplicit-function-declaration]
          XmgShowPromptComplexPulldownBox(SHELL_OR_TOPLEVEL(xmd),
          ^
xippkt.c:372:7: warning: implicit declaration of function 'XmgShowPromptBox' is invalid in C99 [-Wimplicit-function-declaration]
      XmgShowPromptBox(SHELL_OR_TOPLEVEL(xmd),
      ^
--- xipshcut.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c xipshcut.c
--- xippkt.o ---
xippkt.c:449:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
xippkt.c:554:7: warning: implicit declaration of function 'XipCreateSmallPkt' is invalid in C99 [-Wimplicit-function-declaration]
      XipCreateSmallPkt(pkt,TRUE);
      ^
xippkt.c:1035:17: warning: implicit declaration of function 'xip_pkt_reply' is invalid in C99 [-Wimplicit-function-declaration]
  if ((status = xip_pkt_reply(pkt)) != 0)
                ^
xippkt.c:1083:17: warning: implicit declaration of function 'xip_pkt_custom' is invalid in C99 [-Wimplicit-function-declaration]
  if ((status = xip_pkt_custom(pkt,args)) != 0)
                ^
xippkt.c:1169:6: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                   END),
                   ^
./XmgMacro.h:62:6: note: expanded from macro 'END'
                                        XmgMacroNothing( XmgMacroNothing(
                                        ^
--- xipvar.o ---
--- xippkt.o ---
xippkt.c:1173:3: warning: implicit declaration of function 'XmgSetDestroyOnDelete' is invalid in C99 [-Wimplicit-function-declaration]
  XmgSetDestroyOnDelete(shell);
  ^
--- xipvar.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c xipvar.c
--- xippkt.o ---
xippkt.c:1341:3: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
  XmgErrPrint(SHELL_OR_TOPLEVEL(xmd),
  ^
xippkt.c:1368:7: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
      XmgErrPrint(SHELL_OR_TOPLEVEL(xmd),
      ^
xippkt.c:1375:7: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
      XmgErrPrint(SHELL_OR_TOPLEVEL(xmd),
      ^
xippkt.c:1384:7: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
      XmgErrPrint(SHELL_OR_TOPLEVEL(xmd),
      ^
xippkt.c:1392:7: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
      XmgErrPrint(SHELL_OR_TOPLEVEL(xmd),
      ^
xippkt.c:1402:11: warning: implicitly declaring library function 'isspace' with type 'int (int)' [-Wimplicit-function-declaration]
      if (isspace(*ptr))
          ^
xippkt.c:1402:11: note: include the header <ctype.h> or explicitly provide a declaration for 'isspace'
xippkt.c:1415:3: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
                XmgErrPrint(SHELL_OR_TOPLEVEL(xmd),
                ^
xippkt.c:1430:5: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
    XmgErrPrint(SHELL_OR_TOPLEVEL(xmd),
    ^
xippkt.c:1486:7: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
      XmgErrPrint(toplevel,
      ^
--- xipnet.o ---
1 warning generated.
--- xippkt.o ---
xippkt.c:1715:2: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
        XmgErrPrint(toplevel,
        ^
xippkt.c:1725:7: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
      XmgErrPrint(toplevel,
      ^
xippkt.c:1733:7: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
      XmgErrPrint(toplevel,
      ^
xippkt.c:1757:5: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                  CALLBACK(XtNlinkCallback,
                  ^
./XmgMacro.h:77:24: note: expanded from macro 'CALLBACK'
                                        (XtPointer)(Dat)),DONE
                                                          ^
./XmgMacro.h:73:17: note: expanded from macro 'DONE'
#define DONE                            XmgMacroNothing( NULL
                                        ^
xippkt.c:1784:5: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                  CALLBACK(XtNimgCallback,
                  ^
./XmgMacro.h:77:24: note: expanded from macro 'CALLBACK'
                                        (XtPointer)(Dat)),DONE
                                                          ^
./XmgMacro.h:73:17: note: expanded from macro 'DONE'
#define DONE                            XmgMacroNothing( NULL
                                        ^
xippkt.c:1801:7: warning: implicit declaration of function 'XmgSetDestroyOnDelete' is invalid in C99 [-Wimplicit-function-declaration]
      XmgSetDestroyOnDelete(xp->shell);
      ^
--- scandir.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c scandir.c
--- alphasort.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c alphasort.c
--- main.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c main.c
--- Group.o ---
clang -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet10 -I/usr/include -I. -c Group.c
--- xipvar.o ---
xipvar.c:249:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (str = getenv("XIPDUMP_VERB_LEVEL"))
      ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xipvar.c:249:11: note: place parentheses around the assignment to silence this warning
  if (str = getenv("XIPDUMP_VERB_LEVEL"))
          ^
      (                                 )
xipvar.c:249:11: note: use '==' to turn this assignment into an equality comparison
  if (str = getenv("XIPDUMP_VERB_LEVEL"))
          ^
          ==
xipvar.c:701:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (w = XtNameToWidget(shell,fqvarname))
          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xipvar.c:701:13: note: place parentheses around the assignment to silence this warning
      if (w = XtNameToWidget(shell,fqvarname))
            ^
          (                                  )
xipvar.c:701:13: note: use '==' to turn this assignment into an equality comparison
      if (w = XtNameToWidget(shell,fqvarname))
            ^
            ==
xipvar.c:929:13: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                                                                           END),
                                                                           ^
./XmgMacro.h:62:6: note: expanded from macro 'END'
                                        XmgMacroNothing( XmgMacroNothing(
                                        ^
xipvar.c:863:7: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                                                INSERTCODE(
                                                ^
./XmgMacro.h:119:30: note: expanded from macro 'INSERTCODE'
#define INSERTCODE(x)                   DO;x;DONE
                                             ^
./XmgMacro.h:73:17: note: expanded from macro 'DONE'
#define DONE                            XmgMacroNothing( NULL
                                        ^
xipvar.c:852:7: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                    INSERTCODE(
                    ^
./XmgMacro.h:119:30: note: expanded from macro 'INSERTCODE'
#define INSERTCODE(x)                   DO;x;DONE
                                             ^
./XmgMacro.h:73:17: note: expanded from macro 'DONE'
#define DONE                            XmgMacroNothing( NULL
                                        ^
xipvar.c:965:3: warning: implicit declaration of function 'XmgSetDestroyOnDelete' is invalid in C99 [-Wimplicit-function-declaration]
  XmgSetDestroyOnDelete(shell);
  ^
--- TextField.o ---
3 warnings generated.
--- xippkt.o ---
29 warnings generated.
--- main.o ---
main.c:202:3: warning: implicit declaration of function 'xip_extra_vars_destroy' is invalid in C99 [-Wimplicit-function-declaration]
  xip_extra_vars_destroy();
  ^
main.c:208:3: warning: implicit declaration of function 'XmgDestroy' is invalid in C99 [-Wimplicit-function-declaration]
  XmgDestroy();
  ^
main.c:239:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (w = XipCreatePkt(pktbox,
      ~~^~~~~~~~~~~~~~~~~~~~~~
main.c:239:9: note: place parentheses around the assignment to silence this warning
  if (w = XipCreatePkt(pktbox,
        ^
      (
main.c:239:9: note: use '==' to turn this assignment into an equality comparison
  if (w = XipCreatePkt(pktbox,
        ^
        ==
main.c:275:7: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
      XmgErrPrint(status,"XIP_ALLOC_PROC");
      ^
main.c:302:7: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
      XmgErrPrint(toplevel,status,"pkt_dup");
      ^
main.c:372:7: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
      XmgErrPrint(toplevel,status,"pkt_new");
      ^
main.c:398:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (fname = XmgFileGet("*.cf",FALSE))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:398:13: note: place parentheses around the assignment to silence this warning
  if (fname = XmgFileGet("*.cf",FALSE))
            ^
      (                               )
main.c:398:13: note: use '==' to turn this assignment into an equality comparison
  if (fname = XmgFileGet("*.cf",FALSE))
            ^
            ==
main.c:401:2: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
        XmgErrPrint(toplevel,status,"xip_cf_save %s",fname);
        ^
main.c:423:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (ptr = rindex(dirname,'/'))
      ~~~~^~~~~~~~~~~~~~~~~~~~~
main.c:423:11: note: place parentheses around the assignment to silence this warning
  if (ptr = rindex(dirname,'/'))
          ^
      (                        )
main.c:423:11: note: use '==' to turn this assignment into an equality comparison
  if (ptr = rindex(dirname,'/'))
          ^
          ==
main.c:461:21: warning: implicit declaration of function 'pkt_load' is invalid in C99 [-Wimplicit-function-declaration]
      if ((status = pkt_load(npkt,
                    ^
main.c:490:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (fname = XmgFileGet("*.pkc",TRUE))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:490:13: note: place parentheses around the assignment to silence this warning
  if (fname = XmgFileGet("*.pkc",TRUE))
            ^
      (                               )
main.c:490:13: note: use '==' to turn this assignment into an equality comparison
  if (fname = XmgFileGet("*.pkc",TRUE))
            ^
            ==
main.c:493:2: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
        XmgErrPrint(toplevel,status,"xip_load_collection %s",fname);
        ^
main.c:522:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (ptr = rindex(basename,'.'))
      ~~~~^~~~~~~~~~~~~~~~~~~~~~
main.c:522:11: note: place parentheses around the assignment to silence this warning
  if (ptr = rindex(basename,'.'))
          ^
      (                         )
main.c:522:11: note: use '==' to turn this assignment into an equality comparison
  if (ptr = rindex(basename,'.'))
          ^
          ==
main.c:524:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (without_slash = rindex(basename,'/'))
      ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.c:524:21: note: place parentheses around the assignment to silence this warning
  if (without_slash = rindex(basename,'/'))
                    ^
      (                                   )
main.c:524:21: note: use '==' to turn this assignment into an equality comparison
  if (without_slash = rindex(basename,'/'))
                    ^
                    ==
main.c:545:21: warning: implicit declaration of function 'pkt_save' is invalid in C99 [-Wimplicit-function-declaration]
      if ((status = pkt_save(xp->pkt,pktfname)) != 0)
                    ^
main.c:574:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (fname = XmgFileGet("*.pkc",FALSE))
      ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:574:13: note: place parentheses around the assignment to silence this warning
  if (fname = XmgFileGet("*.pkc",FALSE))
            ^
      (                                )
main.c:574:13: note: use '==' to turn this assignment into an equality comparison
  if (fname = XmgFileGet("*.pkc",FALSE))
            ^
            ==
main.c:577:2: warning: implicit declaration of function 'XmgErrPrint' is invalid in C99 [-Wimplicit-function-declaration]
        XmgErrPrint(toplevel,status,"xip_save_collection %s",fname);
        ^
main.c:816:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (win = XwsFindNetscapeWindow(XtDisplay(w),
      ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:816:11: note: place parentheses around the assignment to silence this warning
  if (win = XwsFindNetscapeWindow(XtDisplay(w),
          ^
      (
main.c:816:11: note: use '==' to turn this assignment into an equality comparison
  if (win = XwsFindNetscapeWindow(XtDisplay(w),
          ^
          ==
main.c:878:5: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                  CALLBACK(XtNlinkCallback,
                  ^
./XmgMacro.h:77:24: note: expanded from macro 'CALLBACK'
                                        (XtPointer)(Dat)),DONE
                                                          ^
./XmgMacro.h:73:17: note: expanded from macro 'DONE'
#define DONE                            XmgMacroNothing( NULL
                                        ^
main.c:894:7: warning: implicit declaration of function 'XmgSetPopdownOnDelete' is invalid in C99 [-Wimplicit-function-declaration]
      XmgSetPopdownOnDelete(aboutshell);
      ^
main.c:1254:5: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                  END),
                  ^
./XmgMacro.h:62:6: note: expanded from macro 'END'
                                        XmgMacroNothing( XmgMacroNothing(
                                        ^
main.c:1535:17: warning: implicit declaration of function 'XmgPixmapDictAdd' is invalid in C99 [-Wimplicit-function-declaration]
  if ((status = XmgPixmapDictAdd("internal:xipicon.xbm",
                ^
main.c:1568:17: warning: implicit declaration of function 'xip_extra_vars_get_from_xrm' is invalid in C99 [-Wimplicit-function-declaration]
  if ((status = xip_extra_vars_get_from_xrm()) != 0)
                ^
main.c:1593:13: warning: implicit declaration of function 'XmgMacroNothing' is invalid in C99 [-Wimplicit-function-declaration]
                                               CALLBACK(XtNcallback,
                                               ^
./XmgMacro.h:77:24: note: expanded from macro 'CALLBACK'
                                        (XtPointer)(Dat)),DONE
                                                          ^
./XmgMacro.h:73:17: note: expanded from macro 'DONE'
#define DONE                            XmgMacroNothing( NULL
                                        ^
main.c:1754:3: warning: implicit declaration of function 'XmgSetPopdownOnDelete' is invalid in C99 [-Wimplicit-function-declaration]
  XmgSetPopdownOnDelete(pannershell);
  ^
main.c:1798:17: warning: implicit declaration of function 'xip_cap_init' is invalid in C99 [-Wimplicit-function-declaration]
  if ((status = xip_cap_init()) != 0)
                ^
main.c:1808:17: warning: implicit declaration of function 'xip_net_init' is invalid in C99 [-Wimplicit-function-declaration]
  if ((status = xip_net_init()) != 0)
                ^
main.c:1866:17: warning: implicit declaration of function 'err_xmg_init' is invalid in C99 [-Wimplicit-function-declaration]
  if ((status = err_xmg_init()) != 0)
                ^
main.c:1906:3: warning: implicit declaration of function 'XmgDebugInit' is invalid in C99 [-Wimplicit-function-declaration]
  XmgDebugInit();
  ^
--- xipvar.o ---
6 warnings generated.
--- XmgFancy.o ---
36 warnings generated.
--- main.o ---
29 warnings generated.
--- xipdump ---
clang -o xipdump mg_alloc.o mg_arr.o mg_arr_char.o mg_assoc.o mg_bit.o mg_buf.o  mg_dict.o mg_dict_int.o mg_dict_str.o mg_dm.o mg_dyn_str.o  mg_err.o mg_hash.o mg_id.o mg_id_ptr.o mg_id_str.o mg_int.o  mg_mask.o mg_misc.o mg_parse.o mg_printf.o mg_stack.o  mg_str.o mg_sysdep.o mg_vec.o mg_vec_buf.o mg_vec_int.o  mg_vec_ptr.o mg_vec_str.o mg_opt.o gdm.o gmatch.o snprintf.o  pat_16.o pat_32.o pat_8.o pat_arp.o pat_boolean.o pat_bootp.o  pat_buf.o pat_bytebuf.o pat_data.o pat_dns.o pat_ethaddr.o pat_ether.o  pat_icmp.o pat_icmpcode.o pat_ieee802.o pat_igmp.o pat_inaddr.o  pat_ip.o pat_ipproto.o pat_mac.o pat_null.o pat_pad.o pat_pat.o  pat_port.o pat_rip.o pat_rpc.o pat_rpcnum.o pat_seqack.o pat_shortbuf.o  pat_subnet.o pat_sz.o pat_tcp.o pat_tftp.o pat_time.o pat_tr.o  pat_udp.o  pat.o patdef.o nbgethost.o pkt.o pktio.o pktsav.o paterr.o  gmt2local.o  Xmg.o XmgAction.o XmgCvt.o XmgDict.o XmgErr.o XmgFancy.o XmgFileGet.o  XmgI.o XmgMacro.o XmgMessage.o XmgPrompt.o XmgPulldown.o  Group.o SmeBSBM.o Xws.o Tabs.o TextField.o ScrollText.o Gcs.o  FileNom.o match.o Viewlist.o  xipcap.o xipcust.o xiperr.o xipimg.o xipnet.o xippkt.o xiprepl.o  xipres.o xipshcut.o xipvar.o  scandir.o alphasort.o  main.o -L/usr/pkg/lib/libnet10 -Wl,-R/usr/pkg/lib/libnet10 -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lXaw -lXmu -lXt -lXext -lX11 -lpcap -lnet
/usr/bin/ld: xippkt.o: in function `xip_method_proc_edit':
xippkt.c:(.text+0x1aa7): warning: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp()
/usr/bin/ld: xipcap.o: in function `read_pcap':
xipcap.c:(.text+0x26d): undefined reference to `pcap_read'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** [xipdump] Error code 1

make: stopped in /data/scratch/net/xipdump/work/xipdump-1.5.4
1 error

make: stopped in /data/scratch/net/xipdump/work/xipdump-1.5.4
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/net/xipdump
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/net/xipdump