Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1479 closed patch (fixed)

compile error with mythvideo

Reported by: christian.burger@… Owned by: Isaac Richards
Priority: blocker Milestone: 0.19
Component: mythvideo Version: 0.19
Severity: high Keywords:
Cc: Ticket locked: no

Description

g++ -c -pipe -march=k8 -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -W -O3 -Wall -Wno-switch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DMMX -DUSING_DBOX2 -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/usr/lib64/qt-3.3/mkspecs/default -I. -I../../../../../local/include -I/usr/kde/3.3/include -I../../../../../local/include -I../../../../../X11R6/include -I/usr/lib64/qt-3.3/include -o main.o main.cpp videomanager.h:33: error: extra qualification âVideoManager::â on member âprocessEventsâ make[2]: * [main.o] Error 1 make[2]: Leaving directory `/usr/src/mythtv/mythplugins-0.19/mythvideo/mythvideo' make[1]: * [sub-mythvideo] Error 2 make[1]: Leaving directory `/usr/src/mythtv/mythplugins-0.19/mythvideo' make: * [sub-mythvideo] Error 2

This is on Linux Fedora Core 4 Kernel 2.6.15.5 on x86_64 AMD system.

The Offending code snippet is: class VideoManager? : public MythDialog? {

Q_OBJECT

public:

VideoManager?(MythMainWindow? *parent, const char *name = 0); ~VideoManager?(void);

*33: void VideoManager::processEvents() { qApp->processEvents(); }

public slots:

void slotManualIMDB(); void slotAutoIMDB();

Attachments (1)

mythvideo_badscope.patch (504 bytes) - added by Anduin Withers <awithersjm@…> 14 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 14 years ago by christian.burger@…

Milestone: 0.19

Anyone have a clue. I'm fairly new to this, and my C's a bit rusty and haven't finished tracing the code.

comment:2 Changed 14 years ago by cpinkham

Resolution: fixed
Status: newclosed

(In [9310]) Fix compilation on gcc 4.1.x systems. Closes #1479.

Changed 14 years ago by Anduin Withers <awithersjm@…>

Attachment: mythvideo_badscope.patch added

comment:3 Changed 14 years ago by Anduin Withers <awithersjm@…>

Resolution: fixed
Status: closedreopened
Type: defectpatch

Found another place that would fail. (tiny patch attached)

comment:4 Changed 14 years ago by danielk

Resolution: fixed
Status: reopenedclosed

(In [9333]) Fixes #1479, by applying patch.

comment:5 Changed 14 years ago by cpinkham

(In [9336]) Carry over [9333] from head to fix compilation on gcc v4.1.x systems. References #1479.

Note: See TracTickets for help on using tickets.