Re: [gtk-list] newcomer question: compiling gtk - memmove...
- From: Tom Tromey <tromey creche cygnus com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] newcomer question: compiling gtk - memmove...
- Date: 04 Dec 1997 10:23:02 -0700
Marcus> My gcc compiler doesn't recognize the function "memmove",
Marcus> which gets called a few times in the gtk code (971201). Maybe
Marcus> this is a gcc problem?
This is a problem with the C library on your machine. Some older OSs,
like SunOS, don't provide memmove.
Marcus> Any ideas as to what I might be doing wrong? Or workarounds?
You aren't doing anything wrong.
A workaround would be to get a replacement memmove and put it into gtk
when the OS doesn't provide one. This is quite simple to do. I'd do
it, but I'm not sure about the official GTk position on replacement
functions. Would it be better to write `g_memmove' and change all the
calls in GTk? (That is what is done for strdup, for instance. Is
this really necessary?)
Tom
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]