Build 240 error - too complex program

 

New in build 240 is a "too complex program" error, see below

 

#include <Arrays/ArrayObj.mqh>
#include <ChartObjects/ChartObjectsLines.mqh>
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
class CWidgetChild : public CChartObjectHLine
  {
public:
   int               m_Member;
  };
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
class CWidget : public CObject
  {
public:
   // three members won't compile but two will
   CWidgetChild      *m_child1;
   CWidgetChild      *m_child2;
   // if uncommented below, get compiler errors 'Widget' - too complex program
   // and 'Widget' - internal error
   CWidgetChild      *m_child3;
  };
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
class CWidgetArray : public CArrayObj
  {
public:
   CWidget *Widget(int i){return((CWidget*)CArrayObj::At(i));}
  };
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
void OnStart()
  {
  }
//+------------------------------------------------------------------+

Paul

http://paulsfxrandomwalk.blogspot.com/

Regularly emailing the status of an account
  • 2012.06.14
  • Paul
  • paulsfxrandomwalk.blogspot.com
Prompted by a query, I thought I'd post a useful little utility that I have used for ages which emails the status of the account every hour.  After lengthy deliberation I decided to call it .... EmailStatus.  With only a small modification it could be used to log the status to a file, and the time...
 

Thank you for your message. Bug fixed, please wait for updates.

 
mql5:

Thank you for your message. Bug fixed, please wait for updates.

Thankyou - confirmed fixed in build 241
Reason: