Closed xlsior75 closed 5 years ago
are you sure to have brl.mod updated? the definition of TMap.Insert()
is "void" since it was made "SuperStrict" 22days ago.
Before it was "strict" (by not stating something) which means the Method Insert( key:Object,value:Object )
was interpreted as returning "Int".
Positive -- I even completely deleted the contents of brl.mod just now, and resynced it -- same error. (compiling as x64, multi-threaded FWIW)
Nevermind -- stupid issue. It appears that my batch script to recompile the compiler was still pointing at an older version of bcc/bmk to do the actual compiling, when I switched it to use the latest one it went through without errors.
Still, on a brighter note, there turned out to be an unrelated issue that I discovered and fixed while investigating yours :-)
Good to see the issue resolved - and Brucey stumbling over other bugs meanwhile :)
Update brl.mod before compiling bmk...as it then contains the new map.mod code
Windows, latest BlitzmaxNG, GCC 8.10
[ 14%] Processing:bmk_cores_win32.bmx [ 14%] Processing:stringbuffer_common.bmx [ 15%] Processing:stringbuffer_core.bmx [ 15%] Processing:bmk_ng_utils.bmx [ 15%] Processing:bmk_config.bmx [ 16%] Processing:options_parser.bmx [ 16%] Processing:bmk_bank.bmx [ 17%] Processing:bmk_ng.bmx [ 17%] Processing:bmk_util.bmx Compile Error: Overriding method does not match any overridden method. (Detail: Return type is "Void", expected "Int".) [c:/code/BlitzMaxNG810/bmk-ng/bmk_util.bmx;1678;0]