Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
fbc .13 (cvs release) compiler crashing on this code
#1
When i try compile this code, the compiler crashes and winXP reports an error. Quite bizare. The fbc version im using is 0.13 cvs, and its definately not the very latest cvs release but its recent enough.

Code:
dim argv as zstring ptr ptr
if *argv[i] then
'blabla
end if

If i change the second line to the one below, the compiler doesnt crash and it compiles properly:

Code:
dim argv as zstring ptr ptr
if *argv[i] <> 0 then
'blabla
end if
Reply
#2
Fixed.. caused by zstring's ambiguities, as it can be assigned/comparated/concatenated to strings or integer types w/o explicit conversions..
Reply
#3
I love qbnews forum, if i put this in the sourceforge bug tracker it would take you a week to fix :p.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)