MidnightBSD Magus

print/xmbibtex

Reference manager based on the BibTeX file format

Flavor Version Run OSVersion Arch License Restricted Status
1.7 620 4.0 amd64 No License 0 fail

License Permissions:

Events

Machine Type Time Message
m4064b info 2025-11-03 21:36:57.200526 Test Started
m4064b fail 2025-11-03 21:37:22.006015 make build returned non-zero: 1
m4064b fail 2025-11-03 21:37:22.088046 Test complete.

Log

===>  Building for xmbibtex-1.7
--- biblio.o ---
--- mybiblio.o ---
--- refman.o ---
--- load_cb.o ---
--- save_cb.o ---
--- print_cb.o ---
--- c_refform.o ---
--- mystrstr.o ---
--- searchall_cb.o ---
--- ovid.o ---
--- spirs.o ---
--- inspec.o ---
--- pubmed.o ---
--- biblio.o ---
c++  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include   -DCSRG_BASED     -c biblio.cc -o biblio.o
--- mybiblio.o ---
c++  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include   -DCSRG_BASED     -c mybiblio.cc -o mybiblio.o
--- refman.o ---
c++  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include   -DCSRG_BASED     -c refman.cc -o refman.o
--- load_cb.o ---
c++  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include   -DCSRG_BASED     -c load_cb.cc -o load_cb.o
--- save_cb.o ---
c++  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include   -DCSRG_BASED     -c save_cb.cc -o save_cb.o
--- print_cb.o ---
c++  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include   -DCSRG_BASED     -c print_cb.cc -o print_cb.o
--- c_refform.o ---
c++  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include   -DCSRG_BASED     -c c_refform.cc -o c_refform.o
--- mystrstr.o ---
c++  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include   -DCSRG_BASED     -c mystrstr.cc -o mystrstr.o
--- searchall_cb.o ---
c++  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include   -DCSRG_BASED     -c searchall_cb.cc -o searchall_cb.o
--- ovid.o ---
c++  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include   -DCSRG_BASED     -c ovid.cc -o ovid.o
--- spirs.o ---
c++  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include   -DCSRG_BASED     -c spirs.cc -o spirs.o
--- inspec.o ---
c++  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include   -DCSRG_BASED     -c inspec.cc -o inspec.o
--- pubmed.o ---
c++  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include   -DCSRG_BASED     -c pubmed.cc -o pubmed.o
--- refman.o ---
In file included from refman.cc:6:
In file included from /usr/local/include/Xm/MainW.h:26:
/usr/local/include/Xm/Xm.h:1514:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1514 |                         register int from_type,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1515:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1515 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1516:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1516 |                         register int to_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1519:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1519 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1520:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1520 |                         register int from_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1523:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1523 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1524:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1524 |                         register int from_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1527:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1527 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1528:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1528 |                         register int to_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1531:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1531 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1532:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1532 |                         register int to_type) ;
      |                         ^~~~~~~~
In file included from refman.cc:20:
./nrutil.c:21:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   21 |    if  (!v) nrerror("allocation failure in vector()");
      |                     ^
./nrutil.c:31:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   31 |    if (!v) nrerror("allocation failure in ivector()");
      |                    ^
./nrutil.c:41:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   41 |    if (!v) nrerror("allocation failure in cvector()");
      |                    ^
./nrutil.c:51:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   51 |    if (!v) nrerror("allocation failure in lvector()");
      |                    ^
./nrutil.c:61:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   61 |    if (!v) nrerror("allocation failure in dvector()");
      |                    ^
./nrutil.c:73:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   73 |    if (!m) nrerror("allocation failure 1 in matrix()");
      |                    ^
./nrutil.c:79:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   79 |    if (!m[nrl])  nrerror("allocation failure 2 in matrix()");
      |                          ^
./nrutil.c:97:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   97 |    if (!m) nrerror("allocation failure 1 in matrix()");
      |                    ^
./nrutil.c:103:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  103 |    if (!m[nrl]) nrerror("allocation failure 2 in matrix()");
      |                         ^
./nrutil.c:121:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  121 |    if (!m) nrerror("allocation failure 1 in matrix()");
      |                    ^
./nrutil.c:128:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  128 |    if (!m[nrl]) nrerror("allocation failure 2 in matrix()");
      |                         ^
./nrutil.c:147:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  147 |    if (!m) nrerror("allocation failure in submatrix()");
      |                    ^
./nrutil.c:169:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  169 |     if (!m)     nrerror("allocation failure in convert_matrix()");
      |                         ^
./nrutil.c:188:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  188 |     if (!t) nrerror("allocation failure 1 in f3tensor()");
      |                     ^
./nrutil.c:194:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  194 |     if  (!t[nrl])  nrerror("allocation failure 2   in f3tensor()");
      |                            ^
./nrutil.c:200:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  200 |     if (!t[nrl][ncl]) nrerror("allocation failure 3 in f3tensor()");
      |                               ^
In file included from refman.cc:21:
./sort.c:50:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   50 |                         if (jstack > NSTACK) nrerror("NSTACK too small in sort.");
      |                                                      ^
--- c_refform.o ---
In file included from c_refform.cc:3:
In file included from /usr/local/include/Xm/Form.h:27:
In file included from /usr/local/include/Xm/BulletinB.h:26:
/usr/local/include/Xm/Xm.h:1514:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1514 |                         register int from_type,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1515:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1515 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1516:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1516 |                         register int to_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1519:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1519 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1520:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1520 |                         register int from_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1523:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1523 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1524:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1524 |                         register int from_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1527:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1527 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1528:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1528 |                         register int to_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1531:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1531 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1532:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1532 |                         register int to_type) ;
      |                         ^~~~~~~~
--- save_cb.o ---
In file included from save_cb.cc:6:
In file included from /usr/local/include/Xm/MessageB.h:26:
/usr/local/include/Xm/Xm.h:1514:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1514 |                         register int from_type,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1515:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1515 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1516:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1516 |                         register int to_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1519:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1519 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1520:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1520 |                         register int from_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1523:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1523 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1524:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1524 |                         register int from_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1527:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1527 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1528:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1528 |                         register int to_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1531:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1531 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1532:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1532 |                         register int to_type) ;
      |                         ^~~~~~~~
--- refman.o ---
refman.cc:110:49: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  110 |                                     XmNlabelString, XmStringCreateLocalized(" "),
      |                                                                             ^
refman.cc:116:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  116 |   menubar = XmCreateMenuBar(main_w, "menubar", NULL, 0);
      |                                     ^
refman.cc:118:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  118 |   PullDown=XmCreatePulldownMenu(menubar, "FilePullDown", NULL,0);
      |                                          ^
refman.cc:121:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  121 |                                              XmNlabelString, XmStringCreateLocalized("File"),
      |                                                                                      ^
--- searchall_cb.o ---
In file included from searchall_cb.cc:5:
In file included from /usr/local/include/Xm/List.h:26:
/usr/local/include/Xm/Xm.h:1514:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1514 |                         register int from_type,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1515:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1515 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1516:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1516 |                         register int to_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1519:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1519 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1520:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1520 |                         register int from_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1523:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1523 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1524:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1524 |                         register int from_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1527:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1527 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1528:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1528 |                         register int to_type) ;
      |                         ^~~~~~~~
--- refman.o ---
refman.cc:153:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
--- searchall_cb.o ---
/usr/local/include/Xm/Xm.h:1531:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
--- refman.o ---
  153 |   PullDown=XmCreatePulldownMenu(menubar, "EditPullDown", NULL,0);
      |                                          ^
--- searchall_cb.o ---
 1531 |                         register int from_val,
      |                         ^~~~~~~~
--- refman.o ---
refman.cc:156:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
--- searchall_cb.o ---
/usr/local/include/Xm/Xm.h:1532:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1532 |                         register int to_type) ;
      |                         ^~~~~~~~
--- refman.o ---
  156 |                                              XmNlabelString, XmStringCreateLocalized("Edit"),
      |                                                                                      ^
refman.cc:182:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  182 |   PullDown=XmCreatePulldownMenu(menubar, "SearchPullDown", NULL,0);
      |                                          ^
refman.cc:185:53: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  185 |                                                XmNlabelString, XmStringCreateLocalized("Search"),
      |                                                                                        ^
refman.cc:289:54: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  289 |       fsb_load=XmCreateFileSelectionDialog(toplevel, "filesb", NULL, 0);
      |                                                      ^
refman.cc:293:43: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  293 |       str_list[0]=XmStringCreateLocalized("BibTeX");
      |                                           ^
refman.cc:294:43: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  294 |       str_list[1]=XmStringCreateLocalized("Medline Ovid");
      |                                           ^
refman.cc:295:43: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  295 |       str_list[2]=XmStringCreateLocalized("Medline Spirs");
      |                                           ^
refman.cc:296:43: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  296 |       str_list[3]=XmStringCreateLocalized("Medline PubMed");
      |                                           ^
refman.cc:297:43: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  297 |       str_list[4]=XmStringCreateLocalized("Inspec");
      |                                           ^
refman.cc:298:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  298 |       ftype=XmCreateScrolledList(fsb_load, "filetype", NULL, 0);
      |                                            ^
refman.cc:315:54: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  315 |       fsb_save=XmCreateFileSelectionDialog(toplevel, "filesb", NULL, 0);
      |                                                      ^
refman.cc:326:55: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  326 |       fsb_print=XmCreateFileSelectionDialog(toplevel, "filesb", NULL, 0);
      |                                                       ^
refman.cc:393:8: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  392 |       sprintf(ref,"%u %.15s %.30s %.15s %.4s",
      |                    ~~
      |                    %lu
  393 |               b.c[key[key[0]]]->id,
      |               ^~~~~~~~~~~~~~~~~~~~
refman.cc:425:6: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  424 |         sprintf(ref,"%u %.15s %.30s %.15s %.4s",
      |                      ~~
      |                      %lu
  425 |             b.c[key[listid]]->id,
      |             ^~~~~~~~~~~~~~~~~~~~
refman.cc:513:44: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  513 |   sprintf(text,"number of references: %u", nref);
      |                                       ~~   ^~~~
      |                                       %lu
--- c_refform.o ---
c_refform.cc:107:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  107 |                             XmNlabelString, XmStringCreateLocalized("Ref. ID:"),
      |                                                                     ^
c_refform.cc:111:22: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  111 |   sprintf(refid,"%d",b.d->id);
      |                  ~~  ^~~~~~~
      |                  %lu
c_refform.cc:121:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  121 |                             XmNlabelString, XmStringCreateLocalized("Key:"),
      |                                                                     ^
--- refman.o ---
refman.cc:549:31: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  549 |              XmStringCreateLocalized("Search in all fields for:")); i++;
      |                                      ^
refman.cc:550:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  550 |     mbox=XmCreateMessageDialog(liste, "mbox", args, i);
      |                                       ^
--- c_refform.o ---
c_refform.cc:132:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  132 |                             XmNlabelString, XmStringCreateLocalized("Crossref:"),
      |                                                                     ^
--- refman.o ---
refman.cc:552:54: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
  552 |     XtAddCallback(mbox, XmNokCallback, searchall_cb, (XtPointer)cis);
      |                                                      ^~~~~~~~~~~~~~
--- c_refform.o ---
c_refform.cc:142:35: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  142 |                                XmStringCreateLocalized(""), 0, rt, reftype_cb,
      |                                                        ^
c_refform.cc:143:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  143 |                                XmVaPUSHBUTTON, XmStringCreateLocalized("article"), NULL, NULL, NULL,
      |                                                                        ^
c_refform.cc:144:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  144 |                                XmVaPUSHBUTTON, XmStringCreateLocalized("book"), NULL, NULL, NULL,
      |                                                                        ^
c_refform.cc:145:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  145 |                                XmVaPUSHBUTTON, XmStringCreateLocalized("booklet"), NULL, NULL, NULL,
      |                                                                        ^
c_refform.cc:146:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  146 |                                XmVaPUSHBUTTON, XmStringCreateLocalized("inbook"), NULL, NULL, NULL,
      |                                                                        ^
c_refform.cc:147:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  147 |                                XmVaPUSHBUTTON, XmStringCreateLocalized("incollection"), NULL, NULL, NULL,
      |                                                                        ^
c_refform.cc:148:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  148 |                                XmVaPUSHBUTTON, XmStringCreateLocalized("inproceedings"), NULL, NULL, NULL,
      |                                                                        ^
c_refform.cc:149:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  149 |                                XmVaPUSHBUTTON, XmStringCreateLocalized("manual"), NULL, NULL, NULL,
      |                                                                        ^
c_refform.cc:150:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  150 |                                XmVaPUSHBUTTON, XmStringCreateLocalized("mastersthesis"), NULL, NULL, NULL,
      |                                                                        ^
c_refform.cc:151:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  151 |                                XmVaPUSHBUTTON, XmStringCreateLocalized("misc"), NULL, NULL, NULL,
      |                                                                        ^
c_refform.cc:152:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  152 |                                XmVaPUSHBUTTON, XmStringCreateLocalized("phdthesis"), NULL, NULL, NULL,
      |                                                                        ^
c_refform.cc:153:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  153 |                                XmVaPUSHBUTTON, XmStringCreateLocalized("proceedings"), NULL, NULL, NULL,
      |                                                                        ^
c_refform.cc:154:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
--- refman.o ---
refman.cc:584:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
--- c_refform.o ---
  154 |                                XmVaPUSHBUTTON, XmStringCreateLocalized("techreport"), NULL, NULL, NULL,
      |                                                                        ^
--- refman.o ---
  584 |           else if (!mystrstr(b.c[key[n]]->doctype,b.d->doctype, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:155:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  155 |                                XmVaPUSHBUTTON, XmStringCreateLocalized("unpublished"), NULL, NULL, NULL,
      |                                                                        ^
--- refman.o ---
refman.cc:587:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
--- c_refform.o ---
c_refform.cc:141:39: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  141 |   o=XmVaCreateSimpleOptionMenu(rowcol,"option",
      |                                       ^
--- refman.o ---
  587 |           else if (!mystrstr(b.c[key[n]]->keyword,b.d->keyword, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:159:35: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  159 |                                XmStringCreateLocalized(""), 0,
      |                                                        ^
--- refman.o ---
refman.cc:590:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  590 |           else if (!mystrstr(b.c[key[n]]->abstract,b.d->abstract, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:162:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  162 |                                XmVaPUSHBUTTON, XmStringCreateLocalized("IN FILE"), NULL, NULL, NULL,
      |                                                                        ^
c_refform.cc:163:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  163 |                                XmVaPUSHBUTTON, XmStringCreateLocalized("NOT IN FILE"), NULL, NULL, NULL,
      |                                                                        ^
--- refman.o ---
refman.cc:593:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
--- c_refform.o ---
c_refform.cc:158:39: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  158 |   o=XmVaCreateSimpleOptionMenu(rowcol,"option",
      |                                       ^
--- refman.o ---
  593 |           else if (!mystrstr(b.c[key[n]]->address,b.d->address, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:168:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  168 |                             XmNlabelString, XmStringCreateLocalized("Ok"),
      |                                                                     ^
--- refman.o ---
refman.cc:596:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  596 |           else if (!mystrstr(b.c[key[n]]->annote,b.d->annote, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:172:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  172 |                             XmNlabelString, XmStringCreateLocalized("Cancel"),
      |                                                                     ^
--- refman.o ---
refman.cc:599:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  599 |           else if (!mystrstr(b.c[key[n]]->author,b.d->author, cis)) hinzu=0;
      |           ^
refman.cc:602:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  602 |           else if (!mystrstr(b.c[key[n]]->booktitle,b.d->booktitle, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:186:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  186 |                               XmNlabelString, XmStringCreateLocalized("Journal:"),
      |                                                                       ^
--- refman.o ---
refman.cc:605:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  605 |           else if (!mystrstr(b.c[key[n]]->chapter,b.d->chapter, cis)) hinzu=0;
      |           ^
refman.cc:608:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  608 |           else if (!mystrstr(b.c[key[n]]->comment,b.d->comment, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:207:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  207 |                               XmNlabelString, XmStringCreateLocalized("Howpublished:"),
      |                                                                       ^
--- refman.o ---
refman.cc:611:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  611 |           else if (!mystrstr(b.c[key[n]]->crossref,b.d->crossref, cis)) hinzu=0;
      |           ^
refman.cc:614:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  614 |           else if (!mystrstr(b.c[key[n]]->edition,b.d->edition, cis)) hinzu=0;
      |           ^
refman.cc:617:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  617 |           else if (!mystrstr(b.c[key[n]]->editor,b.d->editor, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:228:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  228 |                               XmNlabelString, XmStringCreateLocalized("Volume:"),
      |                                                                       ^
--- refman.o ---
refman.cc:620:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  620 |           else if (!mystrstr(b.c[key[n]]->howpublished,b.d->howpublished, cis)) hinzu=0;
      |           ^
refman.cc:623:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  623 |           else if (!mystrstr(b.c[key[n]]->institution,b.d->institution, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:249:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
--- refman.o ---
refman.cc:626:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  626 |           else if (!mystrstr(b.c[key[n]]->journal,b.d->journal, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
  249 |                               XmNlabelString, XmStringCreateLocalized("Number:"),
      |                                                                       ^
--- refman.o ---
refman.cc:629:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  629 |           else if (!mystrstr(b.c[key[n]]->key,b.d->key, cis)) hinzu=0;
      |           ^
refman.cc:632:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  632 |           else if (!mystrstr(b.c[key[n]]->month,b.d->month, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:270:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  270 |                               XmNlabelString, XmStringCreateLocalized("Edition:"),
      |                                                                       ^
--- refman.o ---
refman.cc:635:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  635 |           else if (!mystrstr(b.c[key[n]]->note,b.d->note, cis)) hinzu=0;
      |           ^
refman.cc:638:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  638 |           else if (!mystrstr(b.c[key[n]]->number,b.d->number, cis)) hinzu=0;
      |           ^
--- searchall_cb.o ---
searchall_cb.cc:110:8: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  109 |       sprintf(ref,"%u %.15s %.30s %.15s %.4s",
      |                    ~~
      |                    %lu
  110 |               b.c[gefunden[n]]->id,
      |               ^~~~~~~~~~~~~~~~~~~~
--- refman.o ---
refman.cc:641:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  641 |           else if (!mystrstr(b.c[key[n]]->organization,b.d->organization, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:291:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  291 |                             XmNlabelString, XmStringCreateLocalized("Month:"),
      |                                                                     ^
--- refman.o ---
refman.cc:644:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  644 |           else if (!mystrstr(b.c[key[n]]->pages,b.d->pages, cis)) hinzu=0;
      |           ^
refman.cc:647:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  647 |           else if (!mystrstr(b.c[key[n]]->publisher,b.d->publisher, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:311:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  311 |                               XmNlabelString, XmStringCreateLocalized("Chapter:"),
      |                                                                       ^
--- refman.o ---
refman.cc:650:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  650 |           else if (strcmp(b.c[key[n]]->reprint,b.d->reprint)) hinzu=0;
      |           ^
refman.cc:653:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  653 |           else if (!mystrstr(b.c[key[n]]->school,b.d->school, cis)) hinzu=0;
      |           ^
refman.cc:656:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  656 |           else if (!mystrstr(b.c[key[n]]->series,b.d->series, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:332:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  332 |                               XmNlabelString, XmStringCreateLocalized("Pages:"),
      |                                                                       ^
--- refman.o ---
refman.cc:659:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  659 |           else if (!mystrstr(b.c[key[n]]->title,b.d->title, cis)) hinzu=0;
      |           ^
refman.cc:662:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  662 |           else if (!mystrstr(b.c[key[n]]->type,b.d->type, cis)) hinzu=0;
      |           ^
refman.cc:665:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  665 |           else if (!mystrstr(b.c[key[n]]->volume,b.d->volume, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:353:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  353 |                             XmNlabelString, XmStringCreateLocalized("Year:"),
      |                                                                     ^
--- refman.o ---
refman.cc:668:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  668 |           else if (!mystrstr(b.c[key[n]]->year,b.d->year, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:370:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  370 |                             XmNlabelString, XmStringCreateLocalized("Title:"),
      |                                                                     ^
--- refman.o ---
refman.cc:681:3: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  680 |         sprintf(ref,"%u %.15s %.30s %.15s %.4s",
      |                      ~~
      |                      %lu
  681 |                 b.c[gefunden[n]]->id,
      |                 ^~~~~~~~~~~~~~~~~~~~
--- c_refform.o ---
c_refform.cc:393:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  393 |                               XmNlabelString, XmStringCreateLocalized("Booktitle:"),
      |                                                                       ^
--- searchall_cb.o ---
searchall_cb.cc:205:8: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  204 |       sprintf(ref,"%u %.15s %.30s %.15s %.4s",
      |                    ~~
      |                    %lu
  205 |               b.c[gefunden[n]]->id,
      |               ^~~~~~~~~~~~~~~~~~~~
--- refman.o ---
refman.cc:713:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  713 |             else if (!mystrstr(b.c[n]->doctype,b.d->doctype, cis)) hinzu=0;
      |             ^
--- c_refform.o ---
c_refform.cc:417:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  417 |                               XmNlabelString, XmStringCreateLocalized("Series:"),
      |                                                                       ^
--- refman.o ---
refman.cc:716:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  716 |             else if (!mystrstr(b.c[n]->keyword,b.d->keyword, cis)) hinzu=0;
      |             ^
refman.cc:719:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  719 |             else if (!mystrstr(b.c[n]->abstract,b.d->abstract, cis)) hinzu=0;
      |             ^
refman.cc:722:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  722 |             else if (!mystrstr(b.c[n]->address,b.d->address, cis)) hinzu=0;
      |             ^
--- c_refform.o ---
c_refform.cc:440:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  440 |                               XmNlabelString, XmStringCreateLocalized("Type:"),
      |                                                                       ^
--- refman.o ---
refman.cc:725:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  725 |             else if (!mystrstr(b.c[n]->annote,b.d->annote, cis)) hinzu=0;
      |             ^
refman.cc:728:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  728 |             else if (!mystrstr(b.c[n]->author,b.d->author, cis)) hinzu=0;
      |             ^
refman.cc:731:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  731 |             else if (!mystrstr(b.c[n]->booktitle,b.d->booktitle, cis)) hinzu=0;
      |             ^
--- c_refform.o ---
c_refform.cc:463:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  463 |                             XmNlabelString, XmStringCreateLocalized("Author:"),
      |                                                                     ^
--- refman.o ---
refman.cc:734:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  734 |             else if (!mystrstr(b.c[n]->chapter,b.d->chapter, cis)) hinzu=0;
      |             ^
refman.cc:737:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  737 |             else if (!mystrstr(b.c[n]->comment,b.d->comment, cis)) hinzu=0;
      |             ^
refman.cc:740:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  740 |             else if (!mystrstr(b.c[n]->crossref,b.d->crossref, cis)) hinzu=0;
      |             ^
--- c_refform.o ---
c_refform.cc:486:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  486 |                               XmNlabelString, XmStringCreateLocalized("Institution:"),
      |                                                                       ^
--- refman.o ---
refman.cc:743:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  743 |             else if (!mystrstr(b.c[n]->edition,b.d->edition, cis)) hinzu=0;
      |             ^
refman.cc:746:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  746 |             else if (!mystrstr(b.c[n]->editor,b.d->editor, cis)) hinzu=0;
      |             ^
refman.cc:749:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
--- c_refform.o ---
c_refform.cc:510:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
--- refman.o ---
  749 |             else if (!mystrstr(b.c[n]->howpublished,b.d->howpublished, cis)) hinzu=0;
      |             ^
--- c_refform.o ---
  510 |                               XmNlabelString, XmStringCreateLocalized("Organization:"),
      |                                                                       ^
--- refman.o ---
refman.cc:752:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  752 |             else if (!mystrstr(b.c[n]->institution,b.d->institution, cis)) hinzu=0;
      |             ^
--- searchall_cb.o ---
searchall_cb.cc:294:8: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  293 |       sprintf(ref,"%u %.15s %.30s %.15s %.4s",
      |                    ~~
      |                    %lu
  294 |               b.c[gefunden[n]]->id,
      |               ^~~~~~~~~~~~~~~~~~~~
--- refman.o ---
refman.cc:755:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  755 |             else if (!mystrstr(b.c[n]->journal,b.d->journal, cis)) hinzu=0;
      |             ^
refman.cc:758:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  758 |             else if (!mystrstr(b.c[n]->key,b.d->key, cis)) hinzu=0;
      |             ^
--- c_refform.o ---
c_refform.cc:533:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  533 |                               XmNlabelString, XmStringCreateLocalized("School:"),
      |                                                                       ^
--- refman.o ---
refman.cc:761:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  761 |             else if (!mystrstr(b.c[n]->month,b.d->month, cis)) hinzu=0;
      |             ^
refman.cc:764:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  764 |             else if (!mystrstr(b.c[n]->note,b.d->note, cis)) hinzu=0;
      |             ^
refman.cc:767:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  767 |             else if (!mystrstr(b.c[n]->number,b.d->number, cis)) hinzu=0;
      |             ^
--- c_refform.o ---
c_refform.cc:556:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  556 |                               XmNlabelString, XmStringCreateLocalized("Editor:"),
      |                                                                       ^
--- refman.o ---
refman.cc:770:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  770 |             else if (!mystrstr(b.c[n]->organization,b.d->organization, cis)) hinzu=0;
      |             ^
refman.cc:773:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  773 |             else if (!mystrstr(b.c[n]->pages,b.d->pages, cis)) hinzu=0;
      |             ^
refman.cc:776:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  776 |             else if (!mystrstr(b.c[n]->publisher,b.d->publisher, cis)) hinzu=0;
      |             ^
--- c_refform.o ---
c_refform.cc:580:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  580 |                               XmNlabelString, XmStringCreateLocalized("Publisher:"),
      |                                                                       ^
--- refman.o ---
refman.cc:779:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  779 |             else if (strcmp(b.c[n]->reprint,b.d->reprint)) hinzu=0;
      |             ^
refman.cc:782:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  782 |             else if (!mystrstr(b.c[n]->school,b.d->school, cis)) hinzu=0;
      |             ^
refman.cc:785:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  785 |             else if (!mystrstr(b.c[n]->series,b.d->series, cis)) hinzu=0;
      |             ^
--- c_refform.o ---
c_refform.cc:604:50: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  604 |                               XmNlabelString, XmStringCreateLocalized("Address:"),
      |                                                                       ^
--- refman.o ---
refman.cc:788:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  788 |             else if (!mystrstr(b.c[n]->title,b.d->title, cis)) hinzu=0;
      |             ^
refman.cc:791:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  791 |             else if (!mystrstr(b.c[n]->type,b.d->type, cis)) hinzu=0;
      |             ^
refman.cc:794:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  794 |             else if (!mystrstr(b.c[n]->volume,b.d->volume, cis)) hinzu=0;
      |             ^
--- c_refform.o ---
c_refform.cc:627:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  627 |                             XmNlabelString, XmStringCreateLocalized("Abstract:"),
      |                                                                     ^
--- refman.o ---
refman.cc:797:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  797 |             else if (!mystrstr(b.c[n]->year,b.d->year, cis)) hinzu=0;
      |             ^
refman.cc:812:3: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  811 |         sprintf(ref,"%u %.15s %.30s %.15s %.4s",
      |                      ~~
      |                      %lu
  812 |                 b.c[gefunden[n]]->id,
      |                 ^~~~~~~~~~~~~~~~~~~~
--- c_refform.o ---
c_refform.cc:656:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  656 |                             XmNlabelString, XmStringCreateLocalized("Keyword:"),
      |                                                                     ^
c_refform.cc:680:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  680 |                             XmNlabelString, XmStringCreateLocalized("Note:"),
      |                                                                     ^
--- refman.o ---
refman.cc:839:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  839 |           else if (mystrstr(b.c[key[n]]->doctype,b.d->doctype, cis)) hinzu=0;
      |           ^
refman.cc:842:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  842 |           else if (mystrstr(b.c[key[n]]->keyword,b.d->keyword, cis)) hinzu=0;
      |           ^
refman.cc:845:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  845 |           else if (mystrstr(b.c[key[n]]->abstract,b.d->abstract, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:703:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  703 |                             XmNlabelString, XmStringCreateLocalized("Annote:"),
      |                                                                     ^
--- refman.o ---
refman.cc:848:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  848 |           else if (mystrstr(b.c[key[n]]->address,b.d->address, cis)) hinzu=0;
      |           ^
refman.cc:851:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  851 |           else if (mystrstr(b.c[key[n]]->annote,b.d->annote, cis)) hinzu=0;
      |           ^
refman.cc:854:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  854 |           else if (mystrstr(b.c[key[n]]->author,b.d->author, cis)) hinzu=0;
      |           ^
--- c_refform.o ---
c_refform.cc:727:48: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  727 |                             XmNlabelString, XmStringCreateLocalized("Comment:"),
      |                                                                     ^
--- refman.o ---
refman.cc:857:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  857 |           else if (mystrstr(b.c[key[n]]->booktitle,b.d->booktitle, cis)) hinzu=0;
      |           ^
refman.cc:860:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  860 |           else if (mystrstr(b.c[key[n]]->chapter,b.d->chapter, cis)) hinzu=0;
      |           ^
refman.cc:863:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  863 |           else if (mystrstr(b.c[key[n]]->comment,b.d->comment, cis)) hinzu=0;
      |           ^
refman.cc:866:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  866 |           else if (mystrstr(b.c[key[n]]->crossref,b.d->crossref, cis)) hinzu=0;
      |           ^
refman.cc:869:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  869 |           else if (mystrstr(b.c[key[n]]->edition,b.d->edition, cis)) hinzu=0;
      |           ^
refman.cc:872:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  872 |           else if (mystrstr(b.c[key[n]]->editor,b.d->editor, cis)) hinzu=0;
      |           ^
--- searchall_cb.o ---
3 warnings and 11 errors generated.
--- refman.o ---
refman.cc:875:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  875 |           else if (mystrstr(b.c[key[n]]->howpublished,b.d->howpublished, cis)) hinzu=0;
      |           ^
refman.cc:878:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  878 |           else if (mystrstr(b.c[key[n]]->institution,b.d->institution, cis)) hinzu=0;
      |           ^
refman.cc:881:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  881 |           else if (mystrstr(b.c[key[n]]->journal,b.d->journal, cis)) hinzu=0;
      |           ^
refman.cc:884:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  884 |           else if (mystrstr(b.c[key[n]]->key,b.d->key, cis)) hinzu=0;
      |           ^
refman.cc:887:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  887 |           else if (mystrstr(b.c[key[n]]->month,b.d->month, cis)) hinzu=0;
      |           ^
refman.cc:890:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  890 |           else if (mystrstr(b.c[key[n]]->note,b.d->note, cis)) hinzu=0;
      |           ^
refman.cc:893:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  893 |           else if (mystrstr(b.c[key[n]]->number,b.d->number, cis)) hinzu=0;
      |           ^
refman.cc:896:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  896 |           else if (mystrstr(b.c[key[n]]->organization,b.d->organization, cis)) hinzu=0;
      |           ^
refman.cc:899:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  899 |           else if (mystrstr(b.c[key[n]]->pages,b.d->pages, cis)) hinzu=0;
      |           ^
refman.cc:902:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  902 |           else if (mystrstr(b.c[key[n]]->publisher,b.d->publisher, cis)) hinzu=0;
      |           ^
refman.cc:905:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  905 |           else if (!strcmp(b.c[key[n]]->reprint,b.d->reprint)) hinzu=0;
      |           ^
refman.cc:908:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  908 |           else if (mystrstr(b.c[key[n]]->school,b.d->school, cis)) hinzu=0;
      |           ^
refman.cc:911:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  911 |           else if (mystrstr(b.c[key[n]]->series,b.d->series, cis)) hinzu=0;
      |           ^
refman.cc:914:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  914 |           else if (mystrstr(b.c[key[n]]->title,b.d->title, cis)) hinzu=0;
      |           ^
refman.cc:917:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  917 |           else if (mystrstr(b.c[key[n]]->type,b.d->type, cis)) hinzu=0;
      |           ^
refman.cc:920:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  920 |           else if (mystrstr(b.c[key[n]]->volume,b.d->volume, cis)) hinzu=0;
      |           ^
refman.cc:923:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  923 |           else if (mystrstr(b.c[key[n]]->year,b.d->year, cis)) hinzu=0;
      |           ^
refman.cc:936:3: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  935 |         sprintf(ref,"%u %.15s %.30s %.15s %.4s",
      |                      ~~
      |                      %lu
  936 |                 b.c[gefunden[n]]->id,
      |                 ^~~~~~~~~~~~~~~~~~~~
--- searchall_cb.o ---
*** [searchall_cb.o] Error code 1

make: stopped in /magus/work/usr/mports/print/xmbibtex/work/xmbibtex-1.7/src
--- refman.o ---
refman.cc:961:3: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  960 |         sprintf(ref,"%u %.15s %.30s %.15s %.4s",
      |                      ~~
      |                      %lu
  961 |                 b.c[n]->id,
      |                 ^~~~~~~~~~
--- c_refform.o ---
c_refform.cc:867:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  867 |     if (text=XmTextGetString(w)) {
      |         ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:867:13: note: place parentheses around the assignment to silence this warning
  867 |     if (text=XmTextGetString(w)) {
      |             ^                  
      |         (                      )
c_refform.cc:867:13: note: use '==' to turn this assignment into an equality comparison
  867 |     if (text=XmTextGetString(w)) {
      |             ^
      |             ==
c_refform.cc:875:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  875 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:875:11: note: place parentheses around the assignment to silence this warning
  875 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:875:11: note: use '==' to turn this assignment into an equality comparison
  875 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:883:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  883 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:883:11: note: place parentheses around the assignment to silence this warning
  883 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:883:11: note: use '==' to turn this assignment into an equality comparison
  883 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:891:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  891 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:891:11: note: place parentheses around the assignment to silence this warning
  891 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:891:11: note: use '==' to turn this assignment into an equality comparison
  891 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:899:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  899 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:899:11: note: place parentheses around the assignment to silence this warning
  899 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:899:11: note: use '==' to turn this assignment into an equality comparison
  899 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:907:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  907 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:907:11: note: place parentheses around the assignment to silence this warning
  907 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:907:11: note: use '==' to turn this assignment into an equality comparison
  907 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
--- refman.o ---
refman.cc:987:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  987 |   if (text = XmTextGetString(widget)) {
      |       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
refman.cc:987:12: note: place parentheses around the assignment to silence this warning
  987 |   if (text = XmTextGetString(widget)) {
      |            ^                        
      |       (                             )
--- c_refform.o ---
c_refform.cc:915:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  915 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
--- refman.o ---
refman.cc:987:12: note: use '==' to turn this assignment into an equality comparison
  987 |   if (text = XmTextGetString(widget)) {
      |            ^
      |            ==
--- c_refform.o ---
c_refform.cc:915:11: note: place parentheses around the assignment to silence this warning
  915 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:915:11: note: use '==' to turn this assignment into an equality comparison
  915 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:923:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  923 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:923:11: note: place parentheses around the assignment to silence this warning
  923 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:923:11: note: use '==' to turn this assignment into an equality comparison
  923 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:931:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  931 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:931:11: note: place parentheses around the assignment to silence this warning
  931 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:931:11: note: use '==' to turn this assignment into an equality comparison
  931 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
--- refman.o ---
132 warnings and 11 errors generated.
--- c_refform.o ---
c_refform.cc:939:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  939 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:939:11: note: place parentheses around the assignment to silence this warning
  939 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:939:11: note: use '==' to turn this assignment into an equality comparison
  939 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:947:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  947 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:947:11: note: place parentheses around the assignment to silence this warning
  947 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:947:11: note: use '==' to turn this assignment into an equality comparison
  947 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:955:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  955 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:955:11: note: place parentheses around the assignment to silence this warning
  955 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:955:11: note: use '==' to turn this assignment into an equality comparison
  955 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:963:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  963 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:963:11: note: place parentheses around the assignment to silence this warning
  963 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:963:11: note: use '==' to turn this assignment into an equality comparison
  963 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:971:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  971 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:971:11: note: place parentheses around the assignment to silence this warning
  971 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:971:11: note: use '==' to turn this assignment into an equality comparison
  971 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:979:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  979 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:979:11: note: place parentheses around the assignment to silence this warning
  979 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:979:11: note: use '==' to turn this assignment into an equality comparison
  979 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:987:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  987 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:987:11: note: place parentheses around the assignment to silence this warning
  987 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:987:11: note: use '==' to turn this assignment into an equality comparison
  987 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:995:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  995 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:995:11: note: place parentheses around the assignment to silence this warning
  995 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:995:11: note: use '==' to turn this assignment into an equality comparison
  995 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
--- refman.o ---
*** [refman.o] Error code 1

make: stopped in /magus/work/usr/mports/print/xmbibtex/work/xmbibtex-1.7/src
--- c_refform.o ---
c_refform.cc:1003:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 1003 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:1003:11: note: place parentheses around the assignment to silence this warning
 1003 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:1003:11: note: use '==' to turn this assignment into an equality comparison
 1003 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:1011:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 1011 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:1011:11: note: place parentheses around the assignment to silence this warning
 1011 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:1011:11: note: use '==' to turn this assignment into an equality comparison
 1011 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:1019:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 1019 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:1019:11: note: place parentheses around the assignment to silence this warning
 1019 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:1019:11: note: use '==' to turn this assignment into an equality comparison
 1019 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:1027:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 1027 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:1027:11: note: place parentheses around the assignment to silence this warning
 1027 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:1027:11: note: use '==' to turn this assignment into an equality comparison
 1027 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:1035:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 1035 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:1035:11: note: place parentheses around the assignment to silence this warning
 1035 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:1035:11: note: use '==' to turn this assignment into an equality comparison
 1035 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:1043:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 1043 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:1043:11: note: place parentheses around the assignment to silence this warning
 1043 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:1043:11: note: use '==' to turn this assignment into an equality comparison
 1043 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:1051:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 1051 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:1051:11: note: place parentheses around the assignment to silence this warning
 1051 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:1051:11: note: use '==' to turn this assignment into an equality comparison
 1051 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:1059:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 1059 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:1059:11: note: place parentheses around the assignment to silence this warning
 1059 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:1059:11: note: use '==' to turn this assignment into an equality comparison
 1059 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:1067:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 1067 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:1067:11: note: place parentheses around the assignment to silence this warning
 1067 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:1067:11: note: use '==' to turn this assignment into an equality comparison
 1067 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:1075:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 1075 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:1075:11: note: place parentheses around the assignment to silence this warning
 1075 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:1075:11: note: use '==' to turn this assignment into an equality comparison
 1075 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
c_refform.cc:1083:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 1083 |   if (text=XmTextGetString(w)) {
      |       ~~~~^~~~~~~~~~~~~~~~~~~
c_refform.cc:1083:11: note: place parentheses around the assignment to silence this warning
 1083 |   if (text=XmTextGetString(w)) {
      |           ^                  
      |       (                      )
c_refform.cc:1083:11: note: use '==' to turn this assignment into an equality comparison
 1083 |   if (text=XmTextGetString(w)) {
      |           ^
      |           ==
78 warnings and 11 errors generated.
*** [c_refform.o] Error code 1

make: stopped in /magus/work/usr/mports/print/xmbibtex/work/xmbibtex-1.7/src
--- load_cb.o ---
In file included from load_cb.cc:8:
In file included from ./globals.h:5:
/usr/local/include/Xm/Xm.h:1514:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1514 |                         register int from_type,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1515:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1515 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1516:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1516 |                         register int to_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1519:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1519 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1520:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1520 |                         register int from_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1523:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1523 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1524:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1524 |                         register int from_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1527:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1527 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1528:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1528 |                         register int to_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1531:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1531 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1532:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1532 |                         register int to_type) ;
      |                         ^~~~~~~~
load_cb.cc:71:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   71 |     b.Read_MedlineOvid(filename, "article");
      |                                  ^
load_cb.cc:74:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   74 |     b.Read_MedlineSpirs(filename, "article");
      |                                   ^
load_cb.cc:77:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   77 |     b.Read_MedlinePubmed(filename, "article");
      |                                    ^
load_cb.cc:80:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   80 |     b.Read_Inspec(filename, "article");
      |                             ^
load_cb.cc:94:6: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
   93 |     sprintf(ref,"%u %.15s %.30s %.15s %.4s",
      |                  ~~
      |                  %lu
   94 |             b.c[n]->id,
      |             ^~~~~~~~~~
--- ovid.o ---
ovid.cc:33:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   33 |         put_doctype(last,"article");
      |                          ^
ovid.cc:34:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   34 |         put_note(last,"[Abstract]");
      |                       ^
ovid.cc:37:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   37 |         put_doctype(last,"article");
      |                          ^
ovid.cc:38:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   38 |         put_note(last,"[in press]");
      |                       ^
--- load_cb.o ---
5 warnings and 11 errors generated.
*** [load_cb.o] Error code 1

make: stopped in /magus/work/usr/mports/print/xmbibtex/work/xmbibtex-1.7/src
--- biblio.o ---
biblio.cc:29:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
   29 |       case '':
      |            ^
biblio.cc:34:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
   34 |       case '<9A>':
      |            ^
biblio.cc:39:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
   39 |       case '<8E>':
      |            ^
biblio.cc:44:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
   44 |       case '<84>':
      |            ^
biblio.cc:49:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
   49 |       case '<94>':
      |            ^
biblio.cc:54:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
   54 |       case '<81>':
      |            ^
biblio.cc:59:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
   59 |       case '<82>':
      |            ^
biblio.cc:64:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
   64 |       case '<8A>':
      |            ^
biblio.cc:146:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  146 |     else strcat(s,"Jr.");
      |     ^
biblio.cc:211:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  211 |     else strcat(s,"Jr.");
      |     ^
biblio.cc:273:8: warning: 'ostrstream' is deprecated [-Wdeprecated-declarations]
  273 |   std::ostrstream year;
      |        ^
/usr/include/c++/v1/strstream:267:7: note: 'ostrstream' has been explicitly marked deprecated here
  267 | class _LIBCPP_DEPRECATED _LIBCPP_EXPORTED_FROM_ABI ostrstream : public ostream {
      |       ^
/usr/include/c++/v1/__config:713:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  713 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
--- inspec.o ---
inspec.cc:88:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   88 |         put_doctype(last,"article");
      |                          ^
inspec.cc:89:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   89 |         put_note(last,"[Abstract]");
      |                       ^
inspec.cc:92:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   92 |         put_doctype(last,"article");
      |                          ^
inspec.cc:93:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   93 |         put_note(last,"[in press]");
      |                       ^
inspec.cc:131:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  131 |       add_field("annote",last,s_temp2); 
      |                 ^
--- biblio.o ---
biblio.cc:331:8: warning: 'ostrstream' is deprecated [-Wdeprecated-declarations]
  331 |   std::ostrstream number;
      |        ^
/usr/include/c++/v1/strstream:267:7: note: 'ostrstream' has been explicitly marked deprecated here
  267 | class _LIBCPP_DEPRECATED _LIBCPP_EXPORTED_FROM_ABI ostrstream : public ostream {
      |       ^
/usr/include/c++/v1/__config:713:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  713 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
--- inspec.o ---
inspec.cc:271:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  271 |         if((tk[i_l] == '('))
      |             ~~~~~~~~^~~~~~
inspec.cc:271:14: note: remove extraneous parentheses around the comparison to silence this warning
  271 |         if((tk[i_l] == '('))
      |            ~        ^     ~
inspec.cc:271:14: note: use '=' to turn this equality comparison into an assignment
  271 |         if((tk[i_l] == '('))
      |                     ^~
      |                     =
--- biblio.o ---
biblio.cc:354:7: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  354 |   if(t=="abstract") {
      |       ^ ~~~~~~~~~~
--- inspec.o ---
inspec.cc:318:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  318 |       add_field("comment",last,ts);
      |                 ^
--- biblio.o ---
biblio.cc:366:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  366 |   else if(t=="address") {
      |            ^ ~~~~~~~~~
biblio.cc:378:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  378 |   else if(t=="annote") {
      |            ^ ~~~~~~~~
biblio.cc:390:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  390 |   else if(t=="author") {
      |            ^ ~~~~~~~~
biblio.cc:402:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  402 |   else if(t=="booktitle") {
      |            ^ ~~~~~~~~~~~
biblio.cc:414:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  414 |   else if(t=="chapter") {
      |            ^ ~~~~~~~~~
biblio.cc:426:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  426 |   else if(t=="comment") {
      |            ^ ~~~~~~~~~
biblio.cc:438:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  438 |   else if(t=="crossref") {
      |            ^ ~~~~~~~~~~
biblio.cc:450:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  450 |   else if(t=="edition") {
      |            ^ ~~~~~~~~~
biblio.cc:462:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  462 |   else if(t=="editor") {
      |            ^ ~~~~~~~~
biblio.cc:474:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  474 |   else if(t=="howpublished") {
      |            ^ ~~~~~~~~~~~~~~
biblio.cc:486:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  486 |   else if(t=="institution") {
      |            ^ ~~~~~~~~~~~~~
biblio.cc:498:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  498 |   else if(t=="journal") {
      |            ^ ~~~~~~~~~
biblio.cc:510:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  510 |   else if(t=="key") {
      |            ^ ~~~~~
biblio.cc:522:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  522 |   else if(t=="keyword") {
      |            ^ ~~~~~~~~~
biblio.cc:534:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  534 |   else if(t=="month") {
      |            ^ ~~~~~~~
biblio.cc:546:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  546 |   else if(t=="note") {
      |            ^ ~~~~~~
biblio.cc:558:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  558 |   else if(t=="number") {
      |            ^ ~~~~~~~~
biblio.cc:570:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  570 |   else if(t=="organization") {
      |            ^ ~~~~~~~~~~~~~~
biblio.cc:582:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  582 |   else if(t=="pages") {
      |            ^ ~~~~~~~
biblio.cc:594:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  594 |   else if(t=="publisher") {
      |            ^ ~~~~~~~~~~~
biblio.cc:606:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  606 |   else if(t=="reprint") {
      |            ^ ~~~~~~~~~
biblio.cc:618:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  618 |   else if(t=="school") {
      |            ^ ~~~~~~~~
--- pubmed.o ---
pubmed.cc:34:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   34 |         put_doctype(last,"article");
      |                          ^
pubmed.cc:35:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   35 |         put_note(last,"[Abstract]");
      |                       ^
pubmed.cc:38:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   38 |         put_doctype(last,"article");
      |                          ^
pubmed.cc:39:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   39 |         put_note(last,"[in press]");
      |                       ^
--- biblio.o ---
biblio.cc:630:12: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  630 |   else if(t=="series") {
      |            ^ ~~~~~~~~
biblio.cc:642:13: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  642 |   else if (t=="title") {
      |             ^ ~~~~~~~
biblio.cc:654:13: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  654 |   else if (t=="type") {
      |             ^ ~~~~~~
biblio.cc:666:13: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  666 |   else if (t=="volume") {
      |             ^ ~~~~~~~~
biblio.cc:678:13: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  678 |   else if (t=="year") {
      |             ^ ~~~~~~
biblio.cc:773:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  773 |               add_field("abstract",last,sp);
      |                         ^
biblio.cc:798:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  798 |           add_field("abstract",last,sp);
      |                     ^
biblio.cc:820:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  820 |               add_field("address",last,sp);
      |                         ^
biblio.cc:845:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  845 |           add_field("address",last,sp);
      |                     ^
biblio.cc:867:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  867 |               add_field("annote",last,sp);
      |                         ^
biblio.cc:892:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  892 |           add_field("annote",last,sp);
      |                     ^
biblio.cc:914:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  914 |               add_field("author",last,sp);
      |                         ^
--- spirs.o ---
spirs.cc:32:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   32 |         put_doctype(last,"article");
      |                          ^
spirs.cc:33:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   33 |         put_note(last,"[Abstract]");
      |                       ^
spirs.cc:36:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   36 |         put_doctype(last,"article");
      |                          ^
spirs.cc:37:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   37 |         put_note(last,"[in press]");
      |                       ^
spirs.cc:111:46: warning: for loop has empty body [-Wempty-body]
  111 |       for(n=i;(isdigit(ts[n])==0 && n>0);n--); i=n;
      |                                              ^
spirs.cc:111:46: note: put the semicolon on a separate line to silence this warning
spirs.cc:126:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  126 |       add_field("comment",last,ts);
      |                 ^
spirs.cc:131:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  131 |       add_field("annote",last,ts);
      |                 ^
--- biblio.o ---
biblio.cc:939:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  939 |           add_field("author",last,sp);
      |                     ^
biblio.cc:961:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  961 |               add_field("booktitle",last,sp);
      |                         ^
biblio.cc:986:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  986 |           add_field("booktitle",last,sp);
      |                     ^
biblio.cc:1008:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1008 |               add_field("chapter",last,sp);
      |                         ^
biblio.cc:1033:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1033 |           add_field("chapter",last,sp);
      |                     ^
biblio.cc:1055:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1055 |               add_field("comment",last,sp);
      |                         ^
biblio.cc:1080:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1080 |           add_field("comment",last,sp);
      |                     ^
biblio.cc:1102:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1102 |               add_field("crossref",last,sp);
      |                         ^
biblio.cc:1127:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1127 |           add_field("crossref",last,sp);
      |                     ^
biblio.cc:1149:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1149 |               add_field("edition",last,sp);
      |                         ^
biblio.cc:1174:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1174 |           add_field("edition",last,sp);
      |                     ^
biblio.cc:1196:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1196 |               add_field("editor",last,sp);
      |                         ^
biblio.cc:1221:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1221 |           add_field("editor",last,sp);
      |                     ^
biblio.cc:1243:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1243 |               add_field("howpublished",last,sp);
      |                         ^
--- save_cb.o ---
save_cb.cc:42:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   42 |     XtSetArg(args[i], XmNmessageString, XmStringCreateLtoR("File already exists.\n     Overwrite?",XmFONTLIST_DEFAULT_TAG)); i++;
      |                                                            ^
save_cb.cc:43:65: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
   43 |     XtSetArg(args[i], XmNokLabelString, XmStringCreateLocalized(" Yes ")); i++;
      |                                                                 ^
save_cb.cc:44:69: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
   44 |     XtSetArg(args[i], XmNcancelLabelString, XmStringCreateLocalized(" No ")); i++;
      |                                                                     ^
save_cb.cc:47:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   47 |     fexist=XmCreateQuestionDialog(XtParent(widget), "fexist", args, i);
      |                                                     ^
--- biblio.o ---
biblio.cc:1268:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1268 |           add_field("howpublished",last,sp);
      |                     ^
biblio.cc:1290:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1290 |               add_field("institution",last,sp);
      |                         ^
biblio.cc:1315:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1315 |           add_field("institution",last,sp);
      |                     ^
biblio.cc:1337:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1337 |               add_field("journal",last,sp);
      |                         ^
biblio.cc:1362:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1362 |           add_field("journal",last,sp);
      |                     ^
biblio.cc:1384:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1384 |               add_field("key",last,sp);
      |                         ^
biblio.cc:1409:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1409 |           add_field("key",last,sp);
      |                     ^
biblio.cc:1431:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1431 |               add_field("keyword",last,sp);
      |                         ^
biblio.cc:1456:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1456 |           add_field("keyword",last,sp);
      |                     ^
biblio.cc:1478:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1478 |               add_field("month",last,sp);
      |                         ^
biblio.cc:1503:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1503 |           add_field("month",last,sp);
      |                     ^
biblio.cc:1525:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1525 |               add_field("note",last,sp);
      |                         ^
biblio.cc:1550:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1550 |           add_field("note",last,sp);
      |                     ^
biblio.cc:1572:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1572 |               add_field("number",last,sp);
      |                         ^
biblio.cc:1597:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1597 |           add_field("number",last,sp);
      |                     ^
biblio.cc:1619:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1619 |               add_field("organization",last,sp);
      |                         ^
biblio.cc:1644:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1644 |           add_field("organization",last,sp);
      |                     ^
biblio.cc:1666:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1666 |               add_field("pages",last,sp);
      |                         ^
biblio.cc:1691:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1691 |           add_field("pages",last,sp);
      |                     ^
biblio.cc:1713:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1713 |               add_field("publisher",last,sp);
      |                         ^
biblio.cc:1738:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1738 |           add_field("publisher",last,sp);
      |                     ^
biblio.cc:1760:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1760 |               add_field("reprint",last,sp);
      |                         ^
biblio.cc:1785:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1785 |           add_field("reprint",last,sp);
      |                     ^
biblio.cc:1807:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1807 |               add_field("school",last,sp);
      |                         ^
biblio.cc:1832:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1832 |           add_field("school",last,sp);
      |                     ^
biblio.cc:1854:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1854 |               add_field("series",last,sp);
      |                         ^
biblio.cc:1879:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1879 |           add_field("series",last,sp);
      |                     ^
biblio.cc:1901:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1901 |               add_field("title",last,sp);
      |                         ^
biblio.cc:1926:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1926 |           add_field("title",last,sp);
      |                     ^
biblio.cc:1948:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1948 |               add_field("type",last,sp);
      |                         ^
biblio.cc:1973:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1973 |           add_field("type",last,sp);
      |                     ^
biblio.cc:1995:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 1995 |               add_field("volume",last,sp);
      |                         ^
biblio.cc:2020:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 2020 |           add_field("volume",last,sp);
      |                     ^
biblio.cc:2042:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 2042 |               add_field("year",last,sp);
      |                         ^
biblio.cc:2067:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
 2067 |           add_field("year",last,sp);
      |                     ^
--- ovid.o ---
4 warnings generated.
--- print_cb.o ---
In file included from print_cb.cc:9:
In file included from ./globals.h:5:
/usr/local/include/Xm/Xm.h:1514:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1514 |                         register int from_type,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1515:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1515 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1516:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1516 |                         register int to_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1519:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1519 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1520:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1520 |                         register int from_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1523:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1523 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1524:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1524 |                         register int from_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1527:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1527 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1528:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1528 |                         register int to_type) ;
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1531:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1531 |                         register int from_val,
      |                         ^~~~~~~~
/usr/local/include/Xm/Xm.h:1532:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 1532 |                         register int to_type) ;
      |                         ^~~~~~~~
--- save_cb.o ---
4 warnings and 11 errors generated.
*** [save_cb.o] Error code 1

make: stopped in /magus/work/usr/mports/print/xmbibtex/work/xmbibtex-1.7/src
--- pubmed.o ---
4 warnings generated.
--- inspec.o ---
7 warnings generated.
--- spirs.o ---
7 warnings generated.
--- print_cb.o ---
11 errors generated.
*** [print_cb.o] Error code 1

make: stopped in /magus/work/usr/mports/print/xmbibtex/work/xmbibtex-1.7/src
--- biblio.o ---
96 warnings generated.
6 errors

make: stopped in /magus/work/usr/mports/print/xmbibtex/work/xmbibtex-1.7/src
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/print/xmbibtex

Links

Depends On

Depend Of

Nothing

Categories

CVEs

  • Loading CVE information...

LLM Analysis