----- Original Message ----- From: "Rene W. Olsen" ac@rebels.com To: openoffice-os4@samfundet.no Sent: Friday, January 28, 2005 6:04 AM Subject: [OO.org-OS4] Porting Question
Hello
As many of you know I'm porting libusb to os4.
The source code uses serverl functions like snprintf() and strerror(). I wantede to use clib2 but thats ad no-no from library code, then I turn to newlib but dident have the inclide files :(
So here I'm what to do ? The only thing I can think of is to rip the source code from clib2 an include it in my lib but that not the best sulution IMHO.
Well I'm not sure why it's no no...but I would assume that if you can extract the functionality you need from clib2 without trailing any clib2 dependant code (hence if the functionality you need happens to be isolated and non dependant on the rest of the library) then it could be worth it :-).