Menu

#1 compile fixes for 2.0.4

open
nobody
None
5
2003-01-02
2003-01-02
Jon Willeke
No

I'm using Red Hat 8.0, which includes Qt 3.0.5 and GCC
3.2. I get an error compiling spm.cpp:

g++ -c -pipe -Wall -W -O2 -I/usr/lib/qt3/include -o
spm.o spm.cpp
spm.cpp: In constructor `spm::spm(QWidget*, const
char*, unsigned int)':
spm.cpp:124: statement cannot resolve address of
overloaded function

The attached patch changes statusBar()->clear to
statusBar()->clear().

I also get an error compiling partitiondialog.cpp:

g++ -c -pipe -Wall -W -O2 -I/usr/lib/qt3/include -o
partitiondialog.o partitiondialog.cpp
In file included from partitiondialog.cpp:20:
partitiondialog.ui.h: In member function `virtual void
partitiondialog::setinfo(QString)':
partitiondialog.ui.h:33: `cout' undeclared (first use
this function)

The attached patch includes <iostream>.

With these two fixes, I can build and run spm 2.0.4.

Discussion

  • Jon Willeke

    Jon Willeke - 2003-01-02

    Logged In: YES
    user_id=185468

    Second attempt to upload file.

     
  • Jon Willeke

    Jon Willeke - 2003-01-02

    change spm.cpp and partitiondialog.ui.h

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.