* Package: media-plugins/vdr-wapd-0.9_p1-r1 * Repository: gentoo * Maintainer: vdr@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Compiling against * vdr-2.4.1 [API version 2.4.1] >>> Unpacking source... >>> Unpacking vdr-wapd-0.9.tgz to /var/tmp/portage/media-plugins/vdr-wapd-0.9_p1-r1/work >>> Unpacking wapd-0.9-patch1.diff.gz to /var/tmp/portage/media-plugins/vdr-wapd-0.9_p1-r1/work >>> Source unpacked in /var/tmp/portage/media-plugins/vdr-wapd-0.9_p1-r1/work >>> Preparing source in /var/tmp/portage/media-plugins/vdr-wapd-0.9_p1-r1/work/wapd-0.9 ... * Applying vdr-wapd-0.9_gcc-4.1.x.diff ... * /var/tmp/portage/media-plugins/vdr-wapd-0.9_p1-r1/files/vdr-wapd-0.9_gcc-4.1.x.diff: patch failed to apply without a fuzz factor, please rebase patching file wappasswd.c patch unexpectedly ends in middle of line Hunk #1 succeeded at 30 with fuzz 1. [ ok ] * Applying vdr-wapd-0.9-gentoo.diff ... [ ok ] * Applying wapd-0.9-patch1.diff ... [ ok ] * Patching Makefile * Patching for Linguas support * available Languages for vdr-wapd-0.9_p1 are: ls: cannot access '/var/tmp/portage/media-plugins/vdr-wapd-0.9_p1-r1/work/wapd-0.9//po': No such file or directory * LINGUAS="" * Plugin isn't converted to gettext handling! * obsolete tI18nPhrase found, disabled per sed, please recheck * removed i18n.h include in server.c wapd.c >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-plugins/vdr-wapd-0.9_p1-r1/work/wapd-0.9 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-plugins/vdr-wapd-0.9_p1-r1/work/wapd-0.9 ... make -j1 all LOCALEDIR=/var/tmp/portage/media-plugins/vdr-wapd-0.9_p1-r1/work/tmp-locale LOCDIR=/var/tmp/portage/media-plugins/vdr-wapd-0.9_p1-r1/work/tmp-locale LIBDIR=/var/tmp/portage/media-plugins/vdr-wapd-0.9_p1-r1/work/wapd-0.9 TMPDIR=/var/tmp/portage/media-plugins/vdr-wapd-0.9_p1-r1/temp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include -c -DPLUGIN_NAME_I18N='"wapd"' -o wapd.o wapd.c x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include -c -DPLUGIN_NAME_I18N='"wapd"' -o server.o server.c In file included from server.c:37: server.c: In member function ‘void cWapServer::Error(int, char*, char*)’: tools.h:42:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | #define MIME_TYPE "text/vnd.wap.wml" | ^~~~~~~~~~~~~~~~~~ server.c:167:25: note: in expansion of macro ‘MIME_TYPE’ 167 | Header(status, title, MIME_TYPE, SERVER_NAME); | ^~~~~~~~~ In file included from server.h:30, from server.c:36: access.h:28:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | #define SERVER_NAME "VDR WAPD" | ^~~~~~~~~~ server.c:167:36: note: in expansion of macro ‘SERVER_NAME’ 167 | Header(status, title, MIME_TYPE, SERVER_NAME); | ^~~~~~~~~~~ server.c: In member function ‘void cWapServer::SwitchChannel()’: server.c:177:28: error: ‘Channels’ was not declared in this scope; did you mean ‘cChannels’? 177 | if (o >= 1 && o <= Channels.MaxNumber()) | ^~~~~~~~ | cChannels server.c:180:26: error: ‘Channels’ was not declared in this scope; did you mean ‘cChannels’? 180 | cChannel *channel = Channels.GetByNumber(n); | ^~~~~~~~ | cChannels server.c: In member function ‘void cWapServer::DeleteChannel()’: server.c:192:29: error: ‘Channels’ was not declared in this scope; did you mean ‘cChannels’? 192 | cChannel *channel = Channels.GetByNumber(strtol(getopt, NULL, 10)); | ^~~~~~~~ | cChannels server.c:194:33: error: ‘Timers’ was not declared in this scope; did you mean ‘cTimers’? 194 | for (cTimer *timer = Timers.First(); timer; timer = Timers.Next(timer)) { | ^~~~~~ | cTimers server.c:203:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 203 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~ In file included from server.c:37: tools.h:42:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | #define MIME_TYPE "text/vnd.wap.wml" | ^~~~~~~~~~~~~~~~~~ server.c:203:36: note: in expansion of macro ‘MIME_TYPE’ 203 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~ In file included from server.h:30, from server.c:36: access.h:28:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | #define SERVER_NAME "VDR WAPD" | ^~~~~~~~~~ server.c:203:47: note: in expansion of macro ‘SERVER_NAME’ 203 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~~~ server.c: In member function ‘void cWapServer::UpdateChannel()’: server.c:227:32: error: ‘Channels’ was not declared in this scope; did you mean ‘cChannels’? 227 | cChannel *channel = Channels.GetByNumber(nr); | ^~~~~~~~ | cChannels server.c:234:16: error: ‘Channels’ was not declared in this scope; did you mean ‘cChannels’? 234 | if (Channels.HasUniqueChannelID(&ch)) { | ^~~~~~~~ | cChannels server.c: In member function ‘void cWapServer::OnOffTimer()’: server.c:251:25: error: ‘Timers’ was not declared in this scope; did you mean ‘cTimers’? 251 | cTimer *timer = Timers.Get(strtol(getopt, NULL, 10) - 1); | ^~~~~~ | cTimers server.c: In member function ‘void cWapServer::DeleteTimer()’: server.c:264:25: error: ‘Timers’ was not declared in this scope; did you mean ‘cTimers’? 264 | cTimer *timer = Timers.Get(strtol(getopt, NULL, 10) - 1); | ^~~~~~ | cTimers server.c:277:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 277 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~ In file included from server.c:37: tools.h:42:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | #define MIME_TYPE "text/vnd.wap.wml" | ^~~~~~~~~~~~~~~~~~ server.c:277:33: note: in expansion of macro ‘MIME_TYPE’ 277 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~ In file included from server.h:30, from server.c:36: access.h:28:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | #define SERVER_NAME "VDR WAPD" | ^~~~~~~~~~ server.c:277:44: note: in expansion of macro ‘SERVER_NAME’ 277 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~~~ server.c: In member function ‘void cWapServer::UpdateTimer()’: server.c:298:16: error: ‘Timers’ was not declared in this scope; did you mean ‘cTimers’? 298 | t = Timers.Get(id - 1); | ^~~~~~ | cTimers server.c:300:16: error: ‘Timers’ was not declared in this scope; did you mean ‘cTimers’? 300 | t = Timers.GetTimer(timer); | ^~~~~~ | cTimers server.c:306:12: error: ‘Timers’ was not declared in this scope; did you mean ‘cTimers’? 306 | Timers.Add(timer); | ^~~~~~ | cTimers server.c:307:9: error: ‘Timers’ was not declared in this scope; did you mean ‘cTimers’? 307 | Timers.Save(); | ^~~~~~ | cTimers server.c: In member function ‘void cWapServer::EditChannel()’: server.c:366:19: error: ‘Channels’ was not declared in this scope; did you mean ‘cChannels’? 366 | channel = Channels.GetByNumber(channel_nr); | ^~~~~~~~ | cChannels server.c:437:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 437 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~ In file included from server.c:37: tools.h:42:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | #define MIME_TYPE "text/vnd.wap.wml" | ^~~~~~~~~~~~~~~~~~ server.c:437:21: note: in expansion of macro ‘MIME_TYPE’ 437 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~ In file included from server.h:30, from server.c:36: access.h:28:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | #define SERVER_NAME "VDR WAPD" | ^~~~~~~~~~ server.c:437:32: note: in expansion of macro ‘SERVER_NAME’ 437 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~~~ server.c: In member function ‘void cWapServer::EditTimer()’: server.c:459:17: error: ‘Timers’ was not declared in this scope; did you mean ‘cTimers’? 459 | timer = Timers.Get(strtol(getopt, NULL, 10) - 1); | ^~~~~~ | cTimers server.c:511:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 511 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~ In file included from server.c:37: tools.h:42:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | #define MIME_TYPE "text/vnd.wap.wml" | ^~~~~~~~~~~~~~~~~~ server.c:511:21: note: in expansion of macro ‘MIME_TYPE’ 511 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~ In file included from server.h:30, from server.c:36: access.h:28:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | #define SERVER_NAME "VDR WAPD" | ^~~~~~~~~~ server.c:511:32: note: in expansion of macro ‘SERVER_NAME’ 511 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~~~ server.c: In member function ‘void cWapServer::EditRecording()’: server.c:577:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 577 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~ In file included from server.c:37: tools.h:42:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | #define MIME_TYPE "text/vnd.wap.wml" | ^~~~~~~~~~~~~~~~~~ server.c:577:21: note: in expansion of macro ‘MIME_TYPE’ 577 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~ In file included from server.h:30, from server.c:36: access.h:28:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | #define SERVER_NAME "VDR WAPD" | ^~~~~~~~~~ server.c:577:32: note: in expansion of macro ‘SERVER_NAME’ 577 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~~~ server.c: In member function ‘void cWapServer::ScheduleEvent(cChannel*, const cSchedules*)’: server.c:613:47: error: invalid conversion from ‘const cEvent*’ to ‘cEvent*’ [-fpermissive] 613 | for (first = Schedule->Events()->First(); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ | | | const cEvent* server.c:615:46: error: invalid conversion from ‘const cEvent*’ to ‘cEvent*’ [-fpermissive] 615 | first = Schedule->Events()->Next(first)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | const cEvent* server.c:616:40: error: invalid conversion from ‘const cEvent*’ to ‘cEvent*’ [-fpermissive] 616 | prev = Schedule->Events()->Prev(Event); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | const cEvent* server.c:618:40: error: invalid conversion from ‘const cEvent*’ to ‘cEvent*’ [-fpermissive] 618 | next = Schedule->Events()->Next(Event); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | const cEvent* server.c:619:40: error: invalid conversion from ‘const cEvent*’ to ‘cEvent*’ [-fpermissive] 619 | last = Schedule->Events()->Last(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ | | | const cEvent* server.c: In member function ‘void cWapServer::ScheduleNowNext(cChannel*, const cSchedules*)’: server.c:660:18: error: ‘Channels’ was not declared in this scope; did you mean ‘cChannels’? 660 | for (channel = Channels.First(); channel; channel = Channels.Next(channel)) { | ^~~~~~~~ | cChannels server.c: In member function ‘void cWapServer::PageSchedule()’: server.c:769:23: error: ‘Channels’ was not declared in this scope; did you mean ‘cChannels’? 769 | cChannel* Channel = Channels.GetByNumber(ChannelNr); | ^~~~~~~~ | cChannels server.c:773:3: error: ‘cSchedulesLock’ was not declared in this scope; did you mean ‘cSchedules_Lock’? 773 | cSchedulesLock schedulesLock; | ^~~~~~~~~~~~~~ | cSchedules_Lock server.c:774:45: error: ‘Schedules’ is not a member of ‘cSchedules’ 774 | const cSchedules *Schedules = cSchedules::Schedules(schedulesLock); | ^~~~~~~~~ server.c:774:55: error: ‘schedulesLock’ was not declared in this scope; did you mean ‘cSchedules_Lock’? 774 | const cSchedules *Schedules = cSchedules::Schedules(schedulesLock); | ^~~~~~~~~~~~~ | cSchedules_Lock server.c:791:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 791 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~ In file included from server.c:37: tools.h:42:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | #define MIME_TYPE "text/vnd.wap.wml" | ^~~~~~~~~~~~~~~~~~ server.c:791:21: note: in expansion of macro ‘MIME_TYPE’ 791 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~ In file included from server.h:30, from server.c:36: access.h:28:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | #define SERVER_NAME "VDR WAPD" | ^~~~~~~~~~ server.c:791:32: note: in expansion of macro ‘SERVER_NAME’ 791 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~~~ server.c: In member function ‘void cWapServer::PageChannels()’: server.c:801:7: error: ‘Channels’ was not declared in this scope; did you mean ‘cChannels’? 801 | if (Channels.MaxNumber() >= 1) { | ^~~~~~~~ | cChannels server.c:833:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 833 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~ In file included from server.c:37: tools.h:42:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | #define MIME_TYPE "text/vnd.wap.wml" | ^~~~~~~~~~~~~~~~~~ server.c:833:21: note: in expansion of macro ‘MIME_TYPE’ 833 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~ In file included from server.h:30, from server.c:36: access.h:28:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | #define SERVER_NAME "VDR WAPD" | ^~~~~~~~~~ server.c:833:32: note: in expansion of macro ‘SERVER_NAME’ 833 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~~~ server.c: In member function ‘void cWapServer::PageTimers()’: server.c:844:7: error: ‘Timers’ was not declared in this scope; did you mean ‘cTimers’? 844 | if (Timers.Count()) { | ^~~~~~ | cTimers server.c:897:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 897 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~ In file included from server.c:37: tools.h:42:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | #define MIME_TYPE "text/vnd.wap.wml" | ^~~~~~~~~~~~~~~~~~ server.c:897:21: note: in expansion of macro ‘MIME_TYPE’ 897 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~ In file included from server.h:30, from server.c:36: access.h:28:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | #define SERVER_NAME "VDR WAPD" | ^~~~~~~~~~ server.c:897:32: note: in expansion of macro ‘SERVER_NAME’ 897 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~~~ server.c: In member function ‘void cWapServer::PageRecordings()’: server.c:908:32: error: ‘class cRecordings’ has no member named ‘Load’ 908 | bool recordings = Recordings.Load(); | ^~~~ server.c:949:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 949 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~ In file included from server.c:37: tools.h:42:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | #define MIME_TYPE "text/vnd.wap.wml" | ^~~~~~~~~~~~~~~~~~ server.c:949:21: note: in expansion of macro ‘MIME_TYPE’ 949 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~ In file included from server.h:30, from server.c:36: access.h:28:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | #define SERVER_NAME "VDR WAPD" | ^~~~~~~~~~ server.c:949:32: note: in expansion of macro ‘SERVER_NAME’ 949 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~~~ server.c: In member function ‘void cWapServer::PageLanguage()’: server.c:989:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 989 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~ In file included from server.c:37: tools.h:42:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | #define MIME_TYPE "text/vnd.wap.wml" | ^~~~~~~~~~~~~~~~~~ server.c:989:21: note: in expansion of macro ‘MIME_TYPE’ 989 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~ In file included from server.h:30, from server.c:36: access.h:28:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | #define SERVER_NAME "VDR WAPD" | ^~~~~~~~~~ server.c:989:32: note: in expansion of macro ‘SERVER_NAME’ 989 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~~~ server.c: In member function ‘void cWapServer::PageGrabImage()’: server.c:1005:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1005 | Header(200, "OK", "image/jpeg", SERVER_NAME, size, 5); | ^~~~ server.c:1005:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1005 | Header(200, "OK", "image/jpeg", SERVER_NAME, size, 5); | ^~~~~~~~~~~~ In file included from server.h:30, from server.c:36: access.h:28:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | #define SERVER_NAME "VDR WAPD" | ^~~~~~~~~~ server.c:1005:41: note: in expansion of macro ‘SERVER_NAME’ 1005 | Header(200, "OK", "image/jpeg", SERVER_NAME, size, 5); | ^~~~~~~~~~~ server.c:1014:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1014 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~ In file included from server.c:37: tools.h:42:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | #define MIME_TYPE "text/vnd.wap.wml" | ^~~~~~~~~~~~~~~~~~ server.c:1014:21: note: in expansion of macro ‘MIME_TYPE’ 1014 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~ In file included from server.h:30, from server.c:36: access.h:28:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | #define SERVER_NAME "VDR WAPD" | ^~~~~~~~~~ server.c:1014:32: note: in expansion of macro ‘SERVER_NAME’ 1014 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~~~ server.c: In member function ‘void cWapServer::PageMain()’: server.c:1035:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1035 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~ In file included from server.c:37: tools.h:42:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | #define MIME_TYPE "text/vnd.wap.wml" | ^~~~~~~~~~~~~~~~~~ server.c:1035:21: note: in expansion of macro ‘MIME_TYPE’ 1035 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~ In file included from server.h:30, from server.c:36: access.h:28:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | #define SERVER_NAME "VDR WAPD" | ^~~~~~~~~~ server.c:1035:32: note: in expansion of macro ‘SERVER_NAME’ 1035 | Header(200, "OK", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~~~ server.c: In member function ‘bool cWapServer::ProcessHeader()’: server.c:1066:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1066 | Error(501, "Not implemented", "Method not implemented"); | ^~~~~~~~~~~~~~~~~ server.c:1066:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1066 | Error(501, "Not implemented", "Method not implemented"); | ^~~~~~~~~~~~~~~~~~~~~~~~ server.c: In member function ‘virtual void cWapServer::Action()’: server.c:1134:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1134 | Header(401, "Unauthorized", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~~~~~~ In file included from server.c:37: tools.h:42:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | #define MIME_TYPE "text/vnd.wap.wml" | ^~~~~~~~~~~~~~~~~~ server.c:1134:43: note: in expansion of macro ‘MIME_TYPE’ 1134 | Header(401, "Unauthorized", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~ In file included from server.h:30, from server.c:36: access.h:28:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 28 | #define SERVER_NAME "VDR WAPD" | ^~~~~~~~~~ server.c:1134:54: note: in expansion of macro ‘SERVER_NAME’ 1134 | Header(401, "Unauthorized", MIME_TYPE, SERVER_NAME); | ^~~~~~~~~~~ server.c:1172:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1172 | Error(404, "Not Found", "URL not found"); | ^~~~~~~~~~~ server.c:1172:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1172 | Error(404, "Not Found", "URL not found"); | ^~~~~~~~~~~~~~~ server.c: In member function ‘void cWapServer::Reply(const char*, ...)’: server.c:110:15: warning: ignoring return value of ‘int vasprintf(char**, const char*, __va_list_tag*)’, declared with attribute warn_unused_result [-Wunused-result] 110 | vasprintf(&buf, fmt, ap); | ~~~~~~~~~^~~~~~~~~~~~~~~ server.c: In member function ‘void cWapServer::ReplyBuffer(const char*, ...)’: server.c:122:12: warning: ignoring return value of ‘int vasprintf(char**, const char*, __va_list_tag*)’, declared with attribute warn_unused_result [-Wunused-result] 122 | vasprintf(&buf, fmt, ap); | ~~~~~~~~~^~~~~~~~~~~~~~~ server.c: In member function ‘void cWapServer::EditTimer()’: server.c:454:11: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] 454 | asprintf(&day, "%d", lt.tm_mday); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ server.c:455:11: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] 455 | asprintf(&file, "%s%02d%02d%02d", wmltr("Button$New"), lt.tm_hour, lt.tm_min, lt.tm_sec); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:74: server.o] Error 1 * ERROR: media-plugins/vdr-wapd-0.9_p1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-plugins/vdr-wapd-0.9_p1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-plugins/vdr-wapd-0.9_p1-r1::gentoo'`. * The complete build log is located at '/var/log/portage/media-plugins:vdr-wapd-0.9_p1-r1:20191226-133844.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-plugins/vdr-wapd-0.9_p1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-plugins/vdr-wapd-0.9_p1-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-plugins/vdr-wapd-0.9_p1-r1/work/wapd-0.9' * S: '/var/tmp/portage/media-plugins/vdr-wapd-0.9_p1-r1/work/wapd-0.9'