[Interest] Cryptic moc warning

Schimkowitsch Robert Robert.Schimkowitsch at andritz.com
Thu Nov 3 09:27:02 CET 2011


Does anyone know what moc is trying to tell me with:

warning: overriding commands for target
`../../win32gnu.moc/moc_cvui_graphicscurvediagramwidget.cpp'
warning: ignoring old commands for target
`../../win32gnu.moc/moc_cvui_graphicscurvediagramwidget.cpp'

When I double-click, I get to two lines in a qmake-generated makefile,
which look harmless enough to me:

../../win32gnu.moc/moc_cvui_graphicscurvediagramwidget.cpp:
cvui_graphicscurvediagramwidget.h
	F:\QT\SDK_111_473\Desktop\Qt\4.7.3\mingw\bin\moc.exe $(DEFINES)
$(INCPATH) -D__GNUC__ -DWIN32 cvui_graphicscurvediagramwidget.h -o
..\..\win32gnu.moc\moc_cvui_graphicscurvediagramwidget.cpp

../../win32gnu.moc/moc_cvui_graphicscurvediagramwidget.cpp:
cvui_graphicscurvediagramwidget.h
	F:\QT\SDK_111_473\Desktop\Qt\4.7.3\mingw\bin\moc.exe $(DEFINES)
$(INCPATH) -D__GNUC__ -DWIN32 cvui_graphicscurvediagramwidget.h -o
..\..\win32gnu.moc\moc_cvui_graphicscurvediagramwidget.cpp

Above and below, I see similar lines with the same options.

The source code of cvui_graphicscurvediagramwidget.h is nothing fancy:

#if !defined(EA_C751EC83_E40C_4a16_9300_DB7DDD4F0217__INCLUDED_)
#define EA_C751EC83_E40C_4a16_9300_DB7DDD4F0217__INCLUDED_
#include <QGraphicsWidget>
class CCvui_ObjectHolder;
class CCvui_WidgetManager;
class CCvui_StateMachineManager;
class CCvui_ConnectionLinker;

class CCvui_GraphicsCurveDiagramWidget : public QGraphicsWidget
{
    Q_OBJECT
public:
    CCvui_GraphicsCurveDiagramWidget(QGraphicsItem* parent = 0,
                                     Qt::WindowFlags wFlags = 0 );
    virtual ~CCvui_GraphicsCurveDiagramWidget();
private:
    CCvui_ObjectHolder& m_ObjectHolder;
    CCvui_WidgetManager& m_WidgetManager;
    CCvui_StateMachineManager& m_StateMachineManager;
    CCvui_ConnectionLinker& m_ConnectionLinker;
};
#endif // !defined(EA_C751EC83_E40C_4a16_9300_DB7DDD4F0217__INCLUDED_)


Any ideas? Any general hint what those warnings are trying to tell me?

Kind regards

Robert Schimkowitsch

#####################################################################################
This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.
Thank You.
  ANDRITZ HYDRO GmbH
  Rechtsform/ Legal form: Gesellschaft mit beschrankter Haftung / Corporation 
  Firmensitz/ Registered seat: Wien 
  Firmenbuchgericht/ Court of registry: Handelsgericht Wien 
  Firmenbuchnummer/ Company registration: FN 61833 g
  DVR: 0605077 
  UID-Nr.: ATU14756806
#####################################################################################

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20111103/fefdd3a4/attachment.html>


More information about the Interest mailing list