Additionally, I noticed the macro-operator # for stringifying, does not work properly, as it removes all '"' instead of escaping them properly, also whitespaces are being removed, giving false results in the outcome.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Good. I bring it to a MQ developer attention nonetheless.
Good. I have brought it to a MQ developer attention nonetheless.
No worries.
Here is a stripped down version of the same problem, but without the possibility to verify, trace or reconstruct....
@William Roeder
Hope this is still enough
Here is a stripped down version of the same problem, but without the possibility to verify, trace or reconstruct....
@William Roeder
Hope this is still enough
Thank you.
Thank you all.
Fixed.
Thank you all.
Fixed.
Thank you all.
Fixed.
Forum on trading, automated trading systems and testing trading strategies
Possible Preprocessor Bug
Dominik Christian Egert, 2023.04.30 13:13
The bug of self-referential macro was fixed. https://gcc.gnu.org/onlinedocs/cpp/Self-Referential-Macros.html
But, there is still a problem with stringification operator # as reported above.
Edited: I usually use this little macro for debugging.
It works badly with strings and whitespaces, due to the # operator bug. https://gcc.gnu.org/onlinedocs/cpp/Stringizing.html
It would be nice if it is: SymbolInfoDouble("EURUSD", SYMBOL_ASK) = 1.10654