Project

General

Profile

Actions

Bug #964

closed

can't compile with vdr 2.7.27

Added by revved_up over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Target version:
-
Start date:
05/03/2012
Due date:
% Done:

100%

Estimated time:

Description

Plugin osdpip:
make1: Entering directory `/home/ludwig/source/vdr/vdr-1.7.27/PLUGINS/src/vdr-plugin-osdpip'
g++ -g -O3 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"osdpip"' -D__STDC_CONSTANT_MACROS -DUSE_SWSCALE -DUSE_NEW_FFMPEG_HEADERS -I../../../include -I/usr/local/include -I/usr/local/include osd_info.c
In file included from osd_info.c:24:0:
i18n.h:33:14: error: ‘tI18nPhrase’ does not name a type
osd_info.c: In member function ‘eOSState cOsdInfoWindow::ProcessKey(eKeys)’:
osd_info.c:345:9: warning: case value ‘32769’ not in enumerated type ‘eKeys’ [-Wswitch]
osd_info.c:313:9: warning: case value ‘32773’ not in enumerated type ‘eKeys’ [-Wswitch]
osd_info.c:315:9: warning: case value ‘32774’ not in enumerated type ‘eKeys’ [-Wswitch]
osd_info.c:349:9: warning: case value ‘32799’ not in enumerated type ‘eKeys’ [-Wswitch]
osd_info.c:351:9: warning: case value ‘32800’ not in enumerated type ‘eKeys’ [-Wswitch]
make1: *** [osd_info.o] Fehler 1

The HISTORY for version 2.7.27 says:
- Dropped the meanwhile obsolete script 'i18n-to-gettext'.
- Removed the obsolete function cPlugin::RegisterI18n().
- Removed the obsolete typedef tI18nPhrase.

Actions #1

Updated by revved_up over 12 years ago

the upper problem can be solved by remove the i18n stuff of the code (http://www.vdr-portal.de/board1-news/board2-vdr-news/p1061460-announce-vdr-developer-version-1-7-27/#post1061460)

In addition you need to edit the sources of vdr itself. Check the following thread (http://www.vdr-portal.de/board1-news/board2-vdr-news/p1061467-announce-vdr-developer-version-1-7-27/#post1061467)

- Deactivated definition of __RECORDING_H_DEPRECATED_DIRECT_MEMBER_ACCESS (recording.h)
and LEGACY_CRECEIVER (receiver.h) to trigger an error for any plugin that still
uses the respective code. You can reactivate these to quickly make your plugin
compile again, but beware that these code parts will be removed in one of the next
versions.

But this will be necessary for all future releases of vdr. Would be perfect to adopt osdpip :)

Actions #2

Updated by etobi over 12 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF