Re: link sqlite against dietlibc
Gernot Tenchio <[email protected]> Tue, 24 Aug 2010 20:13:09 +0200
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Organization | privat |
| Message-ID | <[email protected]> |
On Tue, 24 Aug 2010 19:34:54 +0200 Michael Graßl <[email protected]> wrote: > Hello > > by: Gernot > > dlerror() is declared as "const char *dlerror(void);" in dietlibc which is > > wrong. It should be "char *dlerror(void);". > > Is ther some work around for dlerror? A simple change of the dlfunc.h > isn't a good idea or? Simply omit -Werror. :-) > By the way i looked in the manuals at linux it is a "char > *dlerror(void)" and at BSD (in my case OpenBSD) it is "const char > *dlerror(void)" so is there some OS dependencies? The Open Group Base Specifications at least says *char... http://www.opengroup.org/onlinepubs/009695399/functions/dlerror.html Gernot