MidnightBSD Magus

print/xmbibtex

Reference manager based on the BibTeX file format

Flavor Version Run OSVersion Arch License Restricted Status
1.7 623 4.0 i386 No License 0 fail

License Permissions:

Events

Machine Type Time Message
m4032 info 2025-12-24 15:24:15.738731 Test Started
m4032 fail 2025-12-24 15:24:37.960489 make build returned non-zero: 1
m4032 fail 2025-12-24 15:24:38.030944 Test complete.

Log

===>  Building for xmbibtex-1.7
--- biblio.o ---
--- mybiblio.o ---
--- refman.o ---
--- load_cb.o ---
--- biblio.o ---
c++  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include   -DCSRG_BASED     -c biblio.cc -o biblio.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
--- 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
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.");
      |                                                      ^
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"),
      |                                                                                      ^
refman.cc:153:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  153 |   PullDown=XmCreatePulldownMenu(menubar, "EditPullDown", NULL,0);
      |                                          ^
refman.cc:156:51: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings]
  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
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);
      |                                       ^
refman.cc:584:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  584 |           else if (!mystrstr(b.c[key[n]]->doctype,b.d->doctype, cis)) hinzu=0;
      |           ^
refman.cc:587:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  587 |           else if (!mystrstr(b.c[key[n]]->keyword,b.d->keyword, cis)) hinzu=0;
      |           ^
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;
      |           ^
refman.cc:593:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  593 |           else if (!mystrstr(b.c[key[n]]->address,b.d->address, cis)) hinzu=0;
      |           ^
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;
      |           ^
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;
      |           ^
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;
      |           ^
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;
      |           ^
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;
      |           ^
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;
      |           ^
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;
      |           ^
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;
      |           ^
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;
      |           ^
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;
      |           ^
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;
      |           ^
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;
      |           ^
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;
      |           ^
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,
      |                 ^~~~~~~~~~~~~~~~~~~~
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;
      |             ^
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;
      |             ^
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;
      |             ^
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;
      |             ^
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]
  749 |             else if (!mystrstr(b.c[n]->howpublished,b.d->howpublished, cis)) hinzu=0;
      |             ^
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;
      |             ^
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;
      |             ^
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;
      |             ^
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;
      |             ^
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;
      |             ^
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;
      |             ^
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,
      |                 ^~~~~~~~~~~~~~~~~~~~
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]
--- save_cb.o ---
--- refman.o ---
  845 |           else if (mystrstr(b.c[key[n]]->abstract,b.d->abstract, cis)) hinzu=0;
      |           ^
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]
--- 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
--- refman.o ---
  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;
      |           ^
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;
      |           ^
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,
      |                 ^~~~~~~~~~~~~~~~~~~~
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,
      |                 ^~~~~~~~~~
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)) {
      |            ^                        
      |       (                             )
refman.cc:987:12: note: use '==' to turn this assignment into an equality comparison
  987 |   if (text = XmTextGetString(widget)) {
      |            ^
      |            ==
131 warnings and 11 errors generated.
*** [refman.o] Error code 1

make: stopped in /magus/work/usr/mports/print/xmbibtex/work/xmbibtex-1.7/src
--- 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) ;
      |                         ^~~~~~~~
--- 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,
      |             ^~~~~~~~~~
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__))
      |                                                 ^
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__))
      |                                                 ^
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") {
      |       ^ ~~~~~~~~~~
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") {
      |            ^ ~~~~~~~~
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);
      |                         ^
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);
      |                         ^
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);
      |                     ^
--- 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);
      |                                                     ^
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
--- biblio.o ---
96 warnings generated.
3 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