OSDK bugs

Questions, bug reports, features requests, ... about the Oric Software Development Kit. Please indicate clearly in the title the related element (OSDK for generic questions, PictConv, FilePack, XA, Euphoric, etc...) to make it easy to locate messages.

Post Reply
User avatar
Dbug
Site Admin
Posts: 2370
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

OSDK bugs

Post by Dbug » Sun Mar 01, 2015 3:31 pm

Hi.
I spent a bit of time today to implement a very primitive issue tracking system on the osdk site:
http://www.osdk.org/index?page=issues

Considering the low traffic, it does not really make sense to have a full system such as Bugzilla, Kira, Mantis, etc... so that will have to do :)

Of course over time I will add some details, task id, css to make it pretty, reprocase, etc... but in the mean time if you want to get issues worked on they will have to appear on this page.

To make them appear, the easiest is to either send me a mail (dbug@defence-force.org) or post on this thread with a clear description of what the problem is, ideally with sample code or easy to reproduce examples.

Thanks!

User avatar
iss
Flight Lieutenant
Posts: 499
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: OSDK bugs

Post by iss » Mon Oct 19, 2015 7:25 pm

I found little bug in OSDK libraries.
Problem: Can't compile program which uses both functions 'memcpy' and 'strcpy'.
Error: Symbol 'get_2ptr' is already defined.
Sample code:

Code: Select all

#include <lib.h>
static char* a = "a";
static char b[2];
void main(void)
{
    strcpy(b,a);
    memcpy(b,a,2);
}
Possible solution: In file 'osdk/main/Osdk/_final_/lib/strcpy.s' remove duplicated code - from line #28 to end of file. This code is defined in 'osdk/main/Osdk/_final_/lib/c_parameters.s'.

User avatar
Dbug
Site Admin
Posts: 2370
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: OSDK bugs

Post by Dbug » Mon Oct 19, 2015 8:03 pm

Your fix is correct, thanks for reporting :)

If you look in library.ndx you will see that the symbol is already present:

Code: Select all

-c_parameters.s	
	get_2ptr
It will be fixed in the next version of the OSDK, in the mean time please remove the version of get_2ptr which is not in the c_parameters.s file

User avatar
iss
Flight Lieutenant
Posts: 499
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: OSDK bugs

Post by iss » Mon Oct 19, 2015 10:27 pm

Thanks for update in defence-force SVN. This bug is Dbug-ged now! ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests