MT5: Compilation errors
-
The following errors occured at the compilation procedure of a simple ea:
Compilation errors
'Ask' - function already defined and has body
'Bid' - function already defined and has body
possible loss of data due to type conversion
'ask' - function not defined
'ask' - function not defined
'bid' - function not defined
5 error(s), 1 warning(s)I am not a programmer but do you have a solution on this behaviours?
-
I guess this is the local version. Build?
-
Yes, it is the local version. Build 044
There are addition errors occured:
'Ask' - function already defined and has body
'Bid' - function already defined and has body
possible loss of data due to type conversion
possible loss of data due to type conversion
'ask' - function not defined
'bid' - function not defined
'ask' - function not defined
'bid' - function not defined
'ask' - function not defined
'ask' - function not defined
'bid' - function not defined
9 error(s), 2 warning(s)......
MT5 errors.pdf -
I remember this bug, but I didn't expected that it exists in the very last build which is more than month old... It is only in MT5 actually.
Well, right now I'm working for the new update, which is... I'm rewriting my own old messy code... and I will be able to create a new build later, but I tested build 043 and it seems that it does not have that bug. The problem with 043 is that block's list is not fully visible and some of the blocks on the bottom are not accessible, but they are not the most important, so I can suggest build 043 now: http://fxdreema.com/public/_misc/fxdree ... ld_043.exe -
It is not nice to play with build 043 because of the warnings - see attachement!

Can you sovle the problems with the next build?
regards,
Dieter......
MT5 errors Build043.pdf -
This is nothing, SymbolInfoInteger() obviously returns integer (int) as it's name says, but sometimes there are warnigs like this (and I don't know why). Probably the correct datatype of this variable "t" should be "datetime", but "datetime" is just a different name of "int", so these warnings are just warnings.... and they probably exists in build 044... I'm not sure.
-
Are the warnings eleminated with the local version of "Build 054, 13.09.2013"?
-
I don't know, I don't pay so much attention about warnings, because they does not make problems... they are only a little bit annoying if MetaEditor is used, and that's all.