Opened 13 years ago

Closed 13 years ago

#3733 closed defect (fixed)

Compiler error in ScheduledRecordings

Reported by: kkuphal Owned by: gigem
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


ccache g++ -c -pipe -march=athlon -Wall -W -fomit-frame-pointer -O3 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -DSTDC_CONSTANT_MACROS -fomit-frame-pointer -I/usr/include/freetype2 -D_REENTRANT -DPIC -fPIC -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\" -D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_H264TOOLS -DUSING_XV -DUSING_XVMC -DUSING_XVMC_PBUFFER -DUSING_OPENGL -DUSING_OPENGL_VSYNC -DUSING_FRONTEND -DUSING_V4L -DUSING_DBOX2 -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_IVTV -DUSING_DVB -DUSING_BACKEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/include -I/usr/src/linux- -I/usr/X11R6/include -I../.. -I.. -I../libmyth -I../libavcodec -I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg -Iiptv -I../libmythlivemedia/BasicUsageEnvironment/include -I../libmythlivemedia/groupsock/include -I../libmythlivemedia/liveMedia/include -I../libmythlivemedia/UsageEnvironment/include -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -I/usr/X11R6/include -o scheduledrecording.o scheduledrecording.cpp scheduledrecording.cpp: In destructor `virtual


scheduledrecording.cpp:88: invalid use of undefined type `struct


scheduledrecording.h:264: forward declaration of `struct


Attachments (1)

srforward.patch (1.3 KB) - added by gigem 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by gigem

Attachment: srforward.patch added

comment:1 Changed 13 years ago by gigem

Owner: changed from Isaac Richards to gigem

What version of gcc are you using? Does the attached patch work?

comment:2 Changed 13 years ago by kkuphal

Yes it does. My version:

Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-cxa_atexit --host=i386-redhat-linux Thread model: posix gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

comment:3 Changed 13 years ago by gigem

Resolution: fixed
Status: newclosed

(In [13957]) Fixed a compile error with some gcc versions by moving the full declaration of ScheduledRecordingDialog? before its first use. Newer gcc versions appear to be OK with deleting an object having only seen a partial declaration.

Closes #3733.

Note: See TracTickets for help on using tickets.