fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    MT5: Compilation errors

    Bug Reports
    2
    8
    2333
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Dieter last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        I guess this is the local version. Build?

        1 Reply Last reply Reply Quote 0
        • D
          Dieter last edited by

          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

          1 Reply Last reply Reply Quote 0
          • fxDreema
            fxDreema last edited by

            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

            1 Reply Last reply Reply Quote 0
            • D
              Dieter last edited by

              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

              1 Reply Last reply Reply Quote 0
              • fxDreema
                fxDreema last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • D
                  Dieter last edited by

                  Are the warnings eleminated with the local version of "Build 054, 13.09.2013"?

                  1 Reply Last reply Reply Quote 0
                  • fxDreema
                    fxDreema last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post

                    Online Users

                    Y
                    K
                    H
                    I

                    13
                    Online

                    146.8k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors