Menu

#159 IBM C++ compile failure

Compilation Issues
open
nobody
None
1
2006-04-03
2005-02-20
No

The IBM C++ compiler fails while building 3.0.4:
xlC -c -+ -qstrict -O2 -DNO_DEBUG -I.
-I/opt/TWWfsw/libqt33/include -o app.o app.cpp
"/opt/TWWfsw/libqt33/include/qobject.h", line 211.5:
1540-0300 (S) The "private" member
"QObject::QObject(const QObject &)" cannot be accessed.
"./resources.h", line 347.7: 1540-0719 (I) The previous
message was produced while processing the implicit
member function "XxResources::XxResources(const
XxResources &)".
"app.cpp", line 1792.6: 1540-0700 (I) The previous
message was produced while processing
"XxApp::processDiff()".

Discussion

  • Nobody/Anonymous

    Logged In: NO

    This is what I did to fix it. It still gave warnings, but
    they were just warnings.

    > svn diff resources.h
    Index: resources.h
    ===================================================================
    --- resources.h (revision 6)
    +++ resources.h (working copy)
    @@ -577,6 +577,7 @@
    private:

    /*----- member functions -----*/
    + XxResources(const XxResources &) {}

    // Convenience method for initialization.
    inline void setFbColors(

     
  • Nobody/Anonymous

    Logged In: NO

    That last comment was added by me, twm@thermoanalytics.com.

     
  • Martin Blais

    Martin Blais - 2006-04-03
    • milestone: --> Compilation Issues
     
  • Martin Blais

    Martin Blais - 2006-04-03
    • priority: 5 --> 3
     
  • Martin Blais

    Martin Blais - 2006-04-03
    • priority: 3 --> 1
     

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.