Compiling either icewm-1.0.8-4 or 1.0.8-5 on Solaris
2.6 with gcc, the following is encountered:
In file included from yfull.h:9,
from yapp.cc:7:
/usr/openwin/include/X11/Xresource.h:249: warning: ANSI
C++ forbids declaration `XrmQGetResource' with no type
yapp.cc: In method `YApplication::YApplication(int *,
char ***, const char * = 0)':
yapp.cc:553: warning: implicit declaration of function
`int initSignals(...)'
yapp.cc:554: warning: implicit declaration of function
`int initAtoms(...)'
yapp.cc: In method `void
YApplication::setClipboardText(char *, int)':
yapp.cc:1328: invalid use of undefined type `class
YClipboard'
yapp.h:12: forward declaration of `class YClipboard'
yapp.cc:1331: invalid use of undefined type `class
YClipboard'
yapp.h:12: forward declaration of `class YClipboard'
make[1]: *** [yapp.o] Error 1
make[1]: Leaving directory
`/home/poshea/bin/gnome/install/icewm-1.0.8/src'
make: *** [base] Error 2
Logged In: YES
user_id=7017
Can't reproduce it. For me IceWM compiles on Solaris
(checkout the attached typescript). Well, this "CXX=g++" is
required 'cause the local installation appears to be broken
and ld failes otherwise. :(
Logged In: YES
user_id=7017
We cannot reproduce the bug you describe in your bug report.
If it still bugs you please submit it again, with more detailed
info.
A typescript showing me compiling icewm on a sun workstation.
Logged In: YES
user_id=92197
in yapp.cc, Yclipboard class and those two functions are
within #ifdef SM..#endif. I moved them out, and it compiled.
On my Solaris 2.5.1, SM doesn't exist under X11.
Plus, my system didn't have snprintf, I had to get it
somewhere. configure should have checked it.
Plus, I had a hell of a time with the "make install".
Logged In: YES
user_id=33703
I have a similar problem under HP-UX 11.0, gcc 2.95.2
----
Compiling yapp.o...
yapp.cc: In method `YApplication::YApplication(int *, char
***, const char * = 0)':
yapp.cc:553: warning: implicit declaration of function `int
initSignals(...)'
yapp.cc:554: warning: implicit declaration of function `int
initAtoms(...)'
yapp.cc: In method `void YApplication::setClipboardText(char
*, int)':
yapp.cc:1328: invalid use of undefined type `class
YClipboard'
yapp.h:12: forward declaration of `class YClipboard'
yapp.cc:1331: invalid use of undefined type `class
YClipboard'
yapp.h:12: forward declaration of `class YClipboard'
make[1]: *** [yapp.o] Error 1
make[1]: Leaving directory `/src/fw/icewm-1.0.8/src'
make: *** [base] Error 2
I'm going to try looking for #ifdef sequences now...
Logged In: YES
user_id=1814
hpux
aCC (probably old version) doesn't like
wmclient.h:
typedef struct WMHints;...
wmmgr.cc:
char *wmInstance(0), *wmClass(0);
wmframe.cc:
themes.cc:
same thing in several places...
Logged In: YES
user_id=1814
a few things were fixed
for any others, please try CVS icewm-1.2 and submit a new bug.