Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 125185

Summary: sci-electronics/electric-7.00 fails (gcc4)
Product: Gentoo Linux Reporter: Patrizio Bassi <patrizio.bassi>
Component: [OLD] GCC PortingAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    

Description Patrizio Bassi 2006-03-06 00:18:31 UTC
c++ -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math  -DUSEQT -DQT_THREAD_SUPPORT -I/usr/qt/3/include -DUSEQUI   -Isrc/include          -c src/graph/graphqtdlg.cpp -o src/graph/graphqtdlg.o
src/graph/graphqtdlg.h:71: error: &#8216;EDialog&#8217; has not been declared
src/graph/graphqtdlg.h:90: error: ISO C++ forbids declaration of &#8216;EDialog&#8217; with no type
src/graph/graphqtdlg.h:90: error: expected &#8216;;&#8217; before &#8216;*&#8217; token
src/graph/graphqtdlg.h:155: error: ISO C++ forbids declaration of &#8216;EDialog&#8217; with no type
src/graph/graphqtdlg.h:155: error: expected &#8216;;&#8217; before &#8216;*&#8217; token
src/graph/graphqtdlg.cpp: In destructor &#8216;virtual EDialog::~EDialog()&#8217;:
src/graph/graphqtdlg.cpp:453: error: &#8216;class EDialogPrivate&#8217; has no member named &#8216;dia&#8217;
src/graph/graphqtdlg.cpp: In member function &#8216;void EDialog::redispRoutine(long int, void (*)(RECTAREA*, void*))&#8217;:
src/graph/graphqtdlg.cpp:1138: error: &#8216;class EUserDrawnField&#8217; has no member named &#8216;dia&#8217;
src/graph/graphqtdlg.cpp: In constructor &#8216;EDialogModal::EDialogModal(DIALOG*)&#8217;:
src/graph/graphqtdlg.cpp:1336: error: no matching function for call to &#8216;EDialogPrivate::init(EDialogModal* const, int)&#8217;
src/graph/graphqtdlg.h:71: note: candidates are: void EDialogPrivate::init(int*, bool)
src/graph/graphqtdlg.cpp: In constructor &#8216;EDialogModeless::EDialogModeless(DIALOG*)&#8217;:
src/graph/graphqtdlg.cpp:1391: error: &#8216;class EDialogPrivate&#8217; has no member named &#8216;dia&#8217;
src/graph/graphqtdlg.cpp:1414: error: no matching function for call to &#8216;EDialogPrivate::init(EDialogModeless* const, int)&#8217;
src/graph/graphqtdlg.h:71: note: candidates are: void EDialogPrivate::init(int*, bool)
src/graph/graphqtdlg.cpp: In function &#8216;void DiaCloseAllModeless()&#8217;:
src/graph/graphqtdlg.cpp:1428: error: &#8216;class EDialogPrivate&#8217; has no member named &#8216;dia&#8217;
src/graph/graphqtdlg.cpp: In constructor &#8216;EDialogPrivate::EDialogPrivate(QWidget*, const char*)&#8217;:
src/graph/graphqtdlg.cpp:1453: error: class &#8216;EDialogPrivate&#8217; does not have any field named &#8216;dia&#8217;
src/graph/graphqtdlg.cpp: At global scope:
src/graph/graphqtdlg.cpp:1464: error: prototype for &#8216;void EDialogPrivate::init(EDialog*, bool)&#8217; does not match any in class &#8216;EDialogPrivate&#8217;
src/graph/graphqtdlg.h:71: error: candidate is: void EDialogPrivate::init(int*, bool)
src/graph/graphqtdlg.cpp: In member function &#8216;void EDialogPrivate::init(EDialog*, bool)&#8217;:
src/graph/graphqtdlg.cpp:1469: error: &#8216;dia&#8217; is not a member of &#8216;EDialogPrivate&#8217;
src/graph/graphqtdlg.cpp:1566: error: &#8216;class EUserDrawnField&#8217; has no member named &#8216;dia&#8217;
src/graph/graphqtdlg.cpp: In member function &#8216;bool EDialogPrivate::checkChildren()&#8217;:
src/graph/graphqtdlg.cpp:1634: error: &#8216;dia&#8217; was not declared in this scope
src/graph/graphqtdlg.cpp:1782: error: &#8216;class EUserDrawnField&#8217; has no member named &#8216;dia&#8217;
src/graph/graphqtdlg.cpp: In member function &#8216;void EDialogPrivate::action(int)&#8217;:
src/graph/graphqtdlg.cpp:1877: error: &#8216;dia&#8217; was not declared in this scope
src/graph/graphqtdlg.cpp: In member function &#8216;virtual void EDialogPrivate::keyPressEvent(QKeyEvent*)&#8217;:
src/graph/graphqtdlg.cpp:1889: error: &#8216;dia&#8217; was not declared in this scope
src/graph/graphqtdlg.cpp: In member function &#8216;virtual void EUserDrawnField::paintEvent(QPaintEvent*)&#8217;:
src/graph/graphqtdlg.cpp:2037: error: &#8216;dia&#8217; was not declared in this scope
make: *** [src/graph/graphqtdlg.o] Error 1

!!! ERROR: sci-electronics/electric-7.00 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2006-03-15 21:01:01 UTC
Hi Patrizio,

Thanks for your report! This has been fixed in portage CVS.

Thanks,
Markus