Compilation issue #445
manish777karki
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have been playing with this EA for a while now. A few weeks ago I was able to compile the EA lite version.
This morning when I tried to compile the rider version by disabling the comment in mode.h file, it returned me heaps of errors. I reverted it to the original and still the same. I then recloned using git bash in the experts folder, however it is still returning me the same errors.
I am wondering if anything changed in the EA, or the compiler itself, or is it something on my end?
Would you please help me find the issue? Also, a guide on how to compile all the versions, including advanced and rider would be appreciated.
Here are the errors log
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<int,Ref>*DictBase<int,Ref>::GetSlotByKey(DictSlotsRef<int,Ref>&,const int,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<int,Ref>::operator=(const DictSlot<int,Ref>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<short,DatabaseTableColumnEntry>*DictBase<short,DatabaseTableColumnEntry>::GetSlotByKey(DictSlotsRef<short,DatabaseTableColumnEntry>&,const short,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<short,DatabaseTableColumnEntry>::operator=(const DictSlot<short,DatabaseTableColumnEntry>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<string,DatabaseTableSchema>*DictBase<string,DatabaseTableSchema>::GetSlotByKey(DictSlotsRef<string,DatabaseTableSchema>&,const string,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<string,DatabaseTableSchema>::operator=(const DictSlot<string,DatabaseTableSchema>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<long,IndicatorDataEntry>*DictBase<long,IndicatorDataEntry>::GetSlotByKey(DictSlotsRef<long,IndicatorDataEntry>&,const long,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<long,IndicatorDataEntry>::operator=(const DictSlot<long,IndicatorDataEntry>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<int,Ref>*DictBase<int,Ref>::GetSlotByKey(DictSlotsRef<int,Ref>&,const int,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<int,Ref>::operator=(const DictSlot<int,Ref>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<short,ActionEntry>*DictBase<short,ActionEntry>::GetSlotByKey(DictSlotsRef<short,ActionEntry>&,const short,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<short,ActionEntry>::operator=(const DictSlot<short,ActionEntry>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<long,AccountEntry>*DictBase<long,AccountEntry>::GetSlotByKey(DictSlotsRef<long,AccountEntry>&,const long,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<long,AccountEntry>::operator=(const DictSlot<long,AccountEntry>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<short,ConditionEntry>*DictBase<short,ConditionEntry>::GetSlotByKey(DictSlotsRef<short,ConditionEntry>&,const short,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<short,ConditionEntry>::operator=(const DictSlot<short,ConditionEntry>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<short,TaskEntry>*DictBase<short,TaskEntry>::GetSlotByKey(DictSlotsRef<short,TaskEntry>&,const short,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<short,TaskEntry>::operator=(const DictSlot<short,TaskEntry>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<long,Ref>*DictBase<long,Ref>::GetSlotByKey(DictSlotsRef<long,Ref>&,const long,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<long,Ref>::operator=(const DictSlot<long,Ref>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed Dict.mqh 123 62
DictSlot<int,double>*DictBase<int,double>::GetSlotByKey(DictSlotsRef<int,double>&,const int,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected Dict.mqh 123 28
void DictSlot<int,double>::operator=(const DictSlot<int,double>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected Dict.mqh 123 28
parameter convertion type 'int' to 'uint &' is not allowed Dict.mqh 123 62
DictSlot<int,float>*DictBase<int,float>::GetSlotByKey(DictSlotsRef<int,float>&,const int,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected Dict.mqh 123 28
void DictSlot<int,float>::operator=(const DictSlot<int,float>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected Dict.mqh 123 28
parameter convertion type 'int' to 'uint &' is not allowed Dict.mqh 123 62
DictSlot<int,int>*DictBase<int,int>::GetSlotByKey(DictSlotsRef<int,int>&,const int,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected Dict.mqh 123 28
void DictSlot<int,int>::operator=(const DictSlot<int,int>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected Dict.mqh 123 28
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<long,Ref>DictBase<long,Ref>::GetSlotByKey(DictSlotsRef<long,Ref>&,const long,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<long,Ref>::operator=(const DictSlot<long,Ref>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<long,ChartEntry>DictBase<long,ChartEntry>::GetSlotByKey(DictSlotsRef<long,ChartEntry>&,const long,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<long,ChartEntry>::operator=(const DictSlot<long,ChartEntry>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<long,SymbolInfoEntry>DictBase<long,SymbolInfoEntry>::GetSlotByKey(DictSlotsRef<long,SymbolInfoEntry>&,const long,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<long,SymbolInfoEntry>::operator=(const DictSlot<long,SymbolInfoEntry>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed Dict.mqh 123 62
DictSlot<string,double>DictBase<string,double>::GetSlotByKey(DictSlotsRef<string,double>&,const string,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected Dict.mqh 123 28
void DictSlot<string,double>::operator=(const DictSlot<string,double>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected Dict.mqh 123 28
parameter convertion type 'int' to 'uint &' is not allowed Dict.mqh 123 62
DictSlot<string,int>DictBase<string,int>::GetSlotByKey(DictSlotsRef<string,int>&,const string,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected Dict.mqh 123 28
void DictSlot<string,int>::operator=(const DictSlot<string,int>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected Dict.mqh 123 28
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<long,StgEntry>DictBase<long,StgEntry>::GetSlotByKey(DictSlotsRef<long,StgEntry>&,const long,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<long,StgEntry>::operator=(const DictSlot<long,StgEntry>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<int,TaskEntry>DictBase<int,TaskEntry>::GetSlotByKey(DictSlotsRef<int,TaskEntry>&,const int,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<int,TaskEntry>::operator=(const DictSlot<int,TaskEntry>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<long,RSIGainLossData>DictBase<long,RSIGainLossData>::GetSlotByKey(DictSlotsRef<long,RSIGainLossData>&,const long,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<long,RSIGainLossData>::operator=(const DictSlot<long,RSIGainLossData>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed Dict.mqh 123 62
DictSlot<string,bool>DictBase<string,bool>::GetSlotByKey(DictSlotsRef<string,bool>&,const string,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected Dict.mqh 123 28
void DictSlot<string,bool>::operator=(const DictSlot<string,bool>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected Dict.mqh 123 28
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<int,Ref<Indi_Math>>DictBase<int,Ref<Indi_Math>>::GetSlotByKey(DictSlotsRef<int,Ref<Indi_Math>>&,const int,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<int,Ref<Indi_Math>>::operator=(const DictSlot<int,Ref<Indi_Math>>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<string,Ref>DictBase<string,Ref>::GetSlotByKey(DictSlotsRef<string,Ref>&,const string,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<string,Ref>::operator=(const DictSlot<string,Ref>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<int,Stg_Meta_Formation_Entry>DictBase<int,Stg_Meta_Formation_Entry>::GetSlotByKey(DictSlotsRef<int,Stg_Meta_Formation_Entry>&,const int,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<int,Stg_Meta_Formation_Entry>::operator=(const DictSlot<int,Stg_Meta_Formation_Entry>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<short,MetaForexNewsRecord>DictBase<short,MetaForexNewsRecord>::GetSlotByKey(DictSlotsRef<short,MetaForexNewsRecord>&,const short,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<short,MetaForexNewsRecord>::operator=(const DictSlot<short,MetaForexNewsRecord>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<long,DictStruct<short,MetaForexNewsRecord>>DictBase<long,DictStruct<short,MetaForexNewsRecord>>::GetSlotByKey(DictSlotsRef<long,DictStruct<short,MetaForexNewsRecord>>&,const long,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<long,DictStruct<short,MetaForexNewsRecord>>::operator=(const DictSlot<long,DictStruct<short,MetaForexNewsRecord>>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<string,Ref<Indi_Price>>DictBase<string,Ref<Indi_Price>>::GetSlotByKey(DictSlotsRef<string,Ref<Indi_Price>>&,const string,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<string,Ref<Indi_Price>>::operator=(const DictSlot<string,Ref<Indi_Price>>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
'KeyExists' - no one of the overloads can be applied to the function call Objects.h 53 23
could be one of 2 function(s) Objects.h 53 23
bool DictBase<string,Ref<Indi_Price>>::KeyExists(const string,uint&) DictBase.mqh 303 8
bool DictBase<string,Ref<Indi_Price>>::KeyExists(const string) DictBase.mqh 331 8
possible use of uninitialized variable 'position' Objects.h 57 39
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<string,Ref<Indi_AC>>DictBase<string,Ref<Indi_AC>>::GetSlotByKey(DictSlotsRef<string,Ref<Indi_AC>>&,const string,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<string,Ref<Indi_AC>>::operator=(const DictSlot<string,Ref<Indi_AC>>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
'KeyExists' - no one of the overloads can be applied to the function call Objects.h 53 23
could be one of 2 function(s) Objects.h 53 23
bool DictBase<string,Ref<Indi_AC>>::KeyExists(const string,uint&) DictBase.mqh 303 8
bool DictBase<string,Ref<Indi_AC>>::KeyExists(const string) DictBase.mqh 331 8
possible use of uninitialized variable 'position' Objects.h 57 39
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<string,PriceValueStorage>DictBase<string,PriceValueStorage>::GetSlotByKey(DictSlotsRef<string,PriceValueStorage>&,const string,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<string,PriceValueStorage>::operator=(const DictSlot<string,PriceValueStorage>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
'KeyExists' - no one of the overloads can be applied to the function call ObjectsCache.h 68 23
could be one of 2 function(s) ObjectsCache.h 68 23
bool DictBase<string,PriceValueStorage>::KeyExists(const string,uint&) DictBase.mqh 303 8
bool DictBase<string,PriceValueStorage>::KeyExists(const string) DictBase.mqh 331 8
possible use of uninitialized variable 'position' ObjectsCache.h 72 39
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<string,SpreadValueStorage>DictBase<string,SpreadValueStorage>::GetSlotByKey(DictSlotsRef<string,SpreadValueStorage>&,const string,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<string,SpreadValueStorage>::operator=(const DictSlot<string,SpreadValueStorage>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
'KeyExists' - no one of the overloads can be applied to the function call ObjectsCache.h 68 23
could be one of 2 function(s) ObjectsCache.h 68 23
bool DictBase<string,SpreadValueStorage>::KeyExists(const string,uint&) DictBase.mqh 303 8
bool DictBase<string,SpreadValueStorage>::KeyExists(const string) DictBase.mqh 331 8
possible use of uninitialized variable 'position' ObjectsCache.h 72 39
parameter convertion type 'int' to 'uint &' is not allowed DictStruct.mqh 144 48
DictSlot<string,TickVolumeValueStorage>DictBase<string,TickVolumeValueStorage>::GetSlotByKey(DictSlotsRef<string,TickVolumeValueStorage>&,const string,uint&) DictBase.mqh 130 19
'GetSlotByKey' - parameter passed as reference, variable expected DictStruct.mqh 144 14
void DictSlot<string,TickVolumeValueStorage>::operator=(const DictSlot<string,TickVolumeValueStorage>&) DictSlot.mqh 33 7
'GetSlotByKey' - object pointer expected DictStruct.mqh 144 14
Beta Was this translation helpful? Give feedback.
All reactions