BM1.26 IntelMAC bug - const

Archives Forums/BlitzMax Bug Reports/BM1.26 IntelMAC bug - const

BlackSp1der(Posted 2007) [#1]
Building untitled1
Compiling:untitled1.bmx
Linking:untitled1
/usr/bin/ld: Undefined symbols:
eax
collect2: ld returned 1 exit status
Build Error: Failed to link

Const CHARS$="abc"

Local num
Print CHARS$[num]


this bug is caused when it is compiled in release mode in an Intel Mac with Mac OS X Tiger
the constant can be replaced with a local variable and all works fine.