IBM C++ compile failure
Brought to you by:
blais
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()".
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(
Logged In: NO
That last comment was added by me, twm@thermoanalytics.com.