Very good!
102 error(s), 8 warning(s) 100 9
'State' - unexpected token RubbArray.mqh 164 35 '<' - wrong template parameters count RubbArray.mqh 164 34 'T' - template mismatch RubbArray.mqh 18 5 'T' - template mismatch RubbArray.mqh 31 13 'T' - template mismatch RubbArray.mqh 36 5 'T' - template mismatch RubbArray.mqh 46 13 'T' - template mismatch RubbArray.mqh 56 13 'T' - template mismatch RubbArray.mqh 61 28 'T' - template mismatch RubbArray.mqh 69 35 'T' - template mismatch RubbArray.mqh 74 51 'T' - template mismatch RubbArray.mqh 78 18 'T' - template mismatch RubbArray.mqh 78 52 'T' - template mismatch RubbArray.mqh 91 29 'T' - template mismatch RubbArray.mqh 106 13 'T' - template mismatch RubbArray.mqh 108 7 'T' - template mismatch RubbArray.mqh 119 13 'T' - template mismatch RubbArray.mqh 127 7 'T' - template mismatch RubbArray.mqh 144 21 'T' - unexpected token, probably type is missing? RubbArray.mqh 18 5 'data' - semicolon expected RubbArray.mqh 18 7 'T' - declaration without type RubbArray.mqh 31 13 'T' - unexpected token, probably type is missing? RubbArray.mqh 36 5 'get' - semicolon expected RubbArray.mqh 36 7 'ArraySize' - unexpected token, probably type is missing? RubbArray.mqh 40 30 'ArraySize' - class type expected RubbArray.mqh 40 30 ', index=' - name expected RubbArray.mqh 40 47 'i' - unexpected token, probably type is missing? RubbArray.mqh 40 59 ')' - semicolon expected RubbArray.mqh 40 60 'return' - name expected RubbArray.mqh 41 9 'return' - name expected RubbArray.mqh 43 7 'NestingLevel' - struct undefined Sudoku.mqh 1615 13 '=' - unexpected token Sudoku.mqh 1615 33 'data' - undeclared identifier RubbArray.mqh 28 19 'data' - variable expected RubbArray.mqh 28 19 'data' - array required RubbArray.mqh 28 19 'data' - undeclared identifier RubbArray.mqh 178 29 'data' - some operator expected RubbArray.mqh 178 29 'data' - undeclared identifier RubbArray.mqh 181 25 '[' - array required RubbArray.mqh 181 29 'data' - object pointer expected RubbArray.mqh 181 25 'data' - undeclared identifier RubbArray.mqh 181 61 '[' - array required RubbArray.mqh 181 65 'data' - object pointer expected RubbArray.mqh 181 61 'data' - undeclared identifier RubbArray.mqh 183 19 'data' - variable expected RubbArray.mqh 183 19 'data' - array required RubbArray.mqh 183 19 'data' - undeclared identifier RubbArray.mqh 188 26 'data' - some operator expected RubbArray.mqh 188 26 'data' - undeclared identifier RubbArray.mqh 191 25 '[' - array required RubbArray.mqh 191 29 'data' - object pointer expected RubbArray.mqh 191 25 'data' - undeclared identifier RubbArray.mqh 191 61 '[' - array required RubbArray.mqh 191 65 'data' - object pointer expected RubbArray.mqh 191 61 'data' - undeclared identifier RubbArray.mqh 192 9 '[' - array required RubbArray.mqh 192 13 '=' - illegal operation use RubbArray.mqh 192 17 'data' - l-value required RubbArray.mqh 192 9 '=' - l-value required RubbArray.mqh 192 17 'row' - some operator expected Sudoku.mqh 460 42 'AutoPtr<SudokuStructure>' - no one of the overloads can be applied to the function call Sudoku.mqh 460 36 could be one of 2 function(s) Sudoku.mqh 460 36 AutoPtr<SudokuStructure>::AutoPtr<SudokuStructure>(SudokuStructure*) AutoPtr.mqh 15 5 AutoPtr<SudokuStructure>::AutoPtr<SudokuStructure>() AutoPtr.mqh 14 5 'column' - some operator expected Sudoku.mqh 461 45 'AutoPtr<SudokuStructure>' - no one of the overloads can be applied to the function call Sudoku.mqh 461 36 could be one of 2 function(s) Sudoku.mqh 461 36 AutoPtr<SudokuStructure>::AutoPtr<SudokuStructure>(SudokuStructure*) AutoPtr.mqh 15 5 AutoPtr<SudokuStructure>::AutoPtr<SudokuStructure>() AutoPtr.mqh 14 5 unresolved static variable 'NestingLevel::level' Sudoku.mqh 1085 11 '<<' - illegal operation use Sudoku.mqh 1103 13 result of expression not used Sudoku.mqh 1103 20 result of expression not used Sudoku.mqh 1103 13 'top' - undeclared identifier Sudoku.mqh 1138 30 ')' - expression expected Sudoku.mqh 1138 34 'top' - parameter passed as reference, variable expected Sudoku.mqh 1138 30 'top' - parameter passed as reference, variable expected Sudoku.mqh 1138 30 cannot access to protected member 'size' declared in class 'Sudoku' Sudoku.mqh 1145 26 see declaration of member 'Sudoku::size' Sudoku.mqh 242 10 ')' - expression expected Sudoku.mqh 1145 31 'top' - undeclared identifier Sudoku.mqh 1147 43 ')' - expression expected Sudoku.mqh 1147 47 'top' - parameter passed as reference, variable expected Sudoku.mqh 1147 43 'top' - parameter passed as reference, variable expected Sudoku.mqh 1147 43 '<<' - illegal operation use Sudoku.mqh 1150 27 result of expression not used Sudoku.mqh 1150 34 result of expression not used Sudoku.mqh 1150 27 'pop' - undeclared identifier Sudoku.mqh 1153 34 ')' - expression expected Sudoku.mqh 1153 38 'pop' - parameter passed as reference, variable expected Sudoku.mqh 1153 34 'pop' - parameter passed as reference, variable expected Sudoku.mqh 1153 34 '<<' - illegal operation use Sudoku.mqh 1168 25 result of expression not used Sudoku.mqh 1168 32 result of expression not used Sudoku.mqh 1168 25 'top' - undeclared identifier Sudoku.mqh 1179 30 ')' - expression expected Sudoku.mqh 1179 34 'top' - parameter passed as reference, variable expected Sudoku.mqh 1179 30 'top' - parameter passed as reference, variable expected Sudoku.mqh 1179 30 'pop' - undeclared identifier Sudoku.mqh 1191 24 ')' - expression expected Sudoku.mqh 1191 28 'pop' - parameter passed as reference, variable expected Sudoku.mqh 1191 24 'pop' - parameter passed as reference, variable expected Sudoku.mqh 1191 24 cannot access to protected member 'size' declared in class 'Sudoku' Sudoku.mqh 1248 24 see declaration of member 'Sudoku::size' Sudoku.mqh 242 10 ')' - expression expected Sudoku.mqh 1248 29 cannot access to protected member 'size' declared in class 'Sudoku' Sudoku.mqh 1271 22 see declaration of member 'Sudoku::size' Sudoku.mqh 242 10 ')' - expression expected Sudoku.mqh 1271 27 cannot access to protected member 'size' declared in class 'Sudoku' Sudoku.mqh 1273 24 see declaration of member 'Sudoku::size' Sudoku.mqh 242 10 ')' - expression expected Sudoku.mqh 1273 29 '<<' - illegal operation use Sudoku.mqh 1275 23 result of expression not used Sudoku.mqh 1275 30 result of expression not used Sudoku.mqh 1275 23 cannot access to protected member 'size' declared in class 'Sudoku' Sudoku.mqh 1277 36 see declaration of member 'Sudoku::size' Sudoku.mqh 242 10 ')' - expression expected Sudoku.mqh 1277 41 'pop' - undeclared identifier Sudoku.mqh 1299 34 102 error(s), 8 warning(s) 100 9
kurbads:
102 error(s), 8 warning(s) 100 9
This is a problem in the latest MetaTrader builds (2170+). They broke something in the compiler with introduction of new scope visibility rules in MQL5.
Until they provide a decent solution, I'm attaching a quick and dirty fix, which allows you to work around the problem.
Replace existing MQL5/Include/Sudoku/Sudoku.mqh with this file.
Files:
Sudoku.mqh
56 kb

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Sudoku:
Classical Sudoku puzzle right in MetaTrader chart.
Author: Stanislav Korotky