bmx-ng / bmk

The enhanced BlitzMax build program.
zlib License
28 stars 13 forks source link

bmk won't compile #94

Closed xlsior75 closed 5 years ago

xlsior75 commented 5 years ago

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]

GWRon commented 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".

xlsior75 commented 5 years ago

Positive -- I even completely deleted the contents of brl.mod just now, and resynced it -- same error. (compiling as x64, multi-threaded FWIW)

xlsior75 commented 5 years ago

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.

woollybah commented 5 years ago

Still, on a brighter note, there turned out to be an unrelated issue that I discovered and fixed while investigating yours :-)

GWRon commented 5 years ago

Good to see the issue resolved - and Brucey stumbling over other bugs meanwhile :)

GWRon commented 5 years ago

Update brl.mod before compiling bmk...as it then contains the new map.mod code