Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| Michael> -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../
| Michael> -I/home/fan/local/include -I/usr/local/include
| Michael> -I/usr/openwin/include -g -c math_macro.C CC -DHAVE_CONFIG_H
| Michael> -I. -I. -I../../src -I../../images -I./../
| Michael> -I/home/fan/local/include -I/usr/local/include
| Michael> -I/usr/openwin/include -g -c math_panel.C
| Michael> "../../images/delim0.xpm", line 4: Warning: String literal
| Michael> converted to char* in initialization. ... (all this kind of
| Michael> warnings) ...
|
| Hmm, lars, I thought we had done something about it. Should these
| images use char const*?
Why not.
| This one is interesting... The relevant line for the first error is
| the last in the following snippet:
|
| char** mathed_get_pixmap_from_icon(int d)
| {
| switch (d) {
| case MM_FRAC: return frac;
| case MM_SQRT: return sqrt;
|
| The problem is probably that the compiler wants to use the sqrt()
| function instead of a pixmap (maybe is it built-in). Lars, do you see
| a solution other than renaming the pixmap?
No, I have seen this before as a warning, but did not act upon it. I
think we should rename the pixmap (or begin using namespaces)
Lgb