MorphOS Developer
Posts: 619 from 2005/8/27
From: the land with ...
Quote:
Thanks Sadddam, entry function is the first, the code above is only a part of the code, and fill_buffer function is implemented after entry function.
Be aware that -O3 will reorder functions, therefore you must either use -O2 or put the entry function in a separate file and make sure it is linked first.
- CISC