Wireshark-bugs: [Wireshark-bugs] [Bug 10371] New: about_dialog.cpp compile error on RHEL6.5 with

Date: Wed, 13 Aug 2014 16:36:49 +0000
Bug ID 10371
Summary about_dialog.cpp compile error on RHEL6.5 with gcc 4.4.7
Product Wireshark
Version 1.12.0
Hardware x86-64
OS Red Hat
Status UNCONFIRMED
Severity Blocker
Priority Low
Component Qt UI
Assignee [email protected]
Reporter [email protected]

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
make[2]: Leaving directory `/home/cmaynard/wireshark/1.12.0/codecs'
Making all in ui/qt
make[2]: Entering directory `/home/cmaynard/wireshark/1.12.0/ui/qt'
/usr/lib64/qt-3.3/bin/uic about_dialog.ui -o ui_about_dialog.h
  CXX    about_dialog.o
about_dialog.cpp: In constructor ‘AboutDialog::AboutDialog(QWidget*)’:
about_dialog.cpp:120: error: invalid use of incomplete type ‘struct
Ui::AboutDialog’
about_dialog.h:28: error: forward declaration of ‘struct Ui::AboutDialog’
about_dialog.cpp:122: error: invalid use of incomplete type ‘struct
Ui::AboutDialog’
about_dialog.h:28: error: forward declaration of ‘struct Ui::AboutDialog’
about_dialog.cpp:152: error: invalid use of incomplete type ‘struct
Ui::AboutDialog’
about_dialog.h:28: error: forward declaration of ‘struct Ui::AboutDialog’
about_dialog.cpp:153: error: invalid use of incomplete type ‘struct
Ui::AboutDialog’
about_dialog.h:28: error: forward declaration of ‘struct Ui::AboutDialog’
about_dialog.cpp:168: error: invalid use of incomplete type ‘struct
Ui::AboutDialog’
about_dialog.h:28: error: forward declaration of ‘struct Ui::AboutDialog’
about_dialog.cpp:169: error: invalid use of incomplete type ‘struct
Ui::AboutDialog’
about_dialog.h:28: error: forward declaration of ‘struct Ui::AboutDialog’
about_dialog.cpp:170: error: invalid use of incomplete type ‘struct
Ui::AboutDialog’
about_dialog.h:28: error: forward declaration of ‘struct Ui::AboutDialog’
about_dialog.cpp:170: error: ‘QTextCursor’ has not been declared
about_dialog.cpp:247: error: invalid use of incomplete type ‘struct
Ui::AboutDialog’
about_dialog.h:28: error: forward declaration of ‘struct Ui::AboutDialog’
about_dialog.cpp:258: error: invalid use of incomplete type ‘struct
Ui::AboutDialog’
about_dialog.h:28: error: forward declaration of ‘struct Ui::AboutDialog’
about_dialog.cpp:271: error: invalid use of incomplete type ‘struct
Ui::AboutDialog’
about_dialog.h:28: error: forward declaration of ‘struct Ui::AboutDialog’
about_dialog.cpp:272: error: invalid use of incomplete type ‘struct
Ui::AboutDialog’
about_dialog.h:28: error: forward declaration of ‘struct Ui::AboutDialog’
about_dialog.cpp:273: error: invalid use of incomplete type ‘struct
Ui::AboutDialog’
about_dialog.h:28: error: forward declaration of ‘struct Ui::AboutDialog’
about_dialog.cpp:273: error: ‘QTextCursor’ has not been declared
about_dialog.cpp: In destructor ‘virtual AboutDialog::~AboutDialog()’:
about_dialog.cpp:278: warning: possible problem detected in invocation of
delete operator:
about_dialog.cpp:278: warning: invalid use of incomplete type ‘struct
Ui::AboutDialog’
about_dialog.h:28: warning: forward declaration of ‘struct Ui::AboutDialog’
about_dialog.cpp:278: note: neither the destructor nor the class-specific
operator delete will be called, even if they are declared when the class is
defined.
make[2]: *** [about_dialog.o] Error 1
make[2]: Leaving directory `/home/cmaynard/wireshark/1.12.0/ui/qt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cmaynard/wireshark/1.12.0'
make: *** [all] Error 2


These errors did not show up on a RHEL6.3 machine with gcc 4.4.6.

https://www.gnu.org/software/gcc/gcc-4.4/changes.html


You are receiving this mail because:
  • You are watching all bug changes.