XaoS crashes while using my complex numbers - f**k

almost 5 years ago malczak xaos comments

ive implemented complex numbers arithmetics using assembly and compiled it using nasm compiler. afterwards ive succesfully used that lib with gcc, vc++, bcb and even with delphi.


main purpose of writing that code was to add it to XaoS. i did that and even compiled XaoS without any error. but in runtime XaoS crashes when trying to call some of my functions. using gdb i found out that there is something 'wrong' with passing parameters to functions, but only when function returns complex number structure.


after a couple of hours i still dont how to deal with it ;(


edit: finally ive found crashing down reason. its because of flag -omit-frame-pointer. its because my assembly code is a bit dirty and we cannot use this flag with gcc.

Comments

No comments as yet. Be first to comment.

New comment

  1. (with http or https prefix)

  2. (use [code][/code] tags to post a code snippet)

  3. (javascript is required)

Website content premeditately commited by malczak & sobstel.
Layout by mlando. Icons by dryicons.com. All rights reserved.