[
Thread Prev][
Thread Next] >
Date Index
>
Thread Index
[wmx] Compile Errors in WMX-6 with gcc 3.2 and intel C++
Andrew Fant -
Mon Sep 23 20:19:04 2002
When I try to compile wmx-6 ( or patch level 1) under g++ version 3.2 I
get the following error:
c++ -c -g -O2 -I/usr/X11R6/include Menu.C
Menu.C:625: default argument given for parameter 3 of `
CommandMenu::CommandMenu(WindowManager*, XEvent*, char* = 0)'
Menu.h:92: after previous specification in `
CommandMenu::CommandMenu(WindowManager*, XEvent*, char* = 0)'
make: *** [Menu.o] Error 1
under intel C++, I get the following variant:
icc -c -g -O2 -I/usr/X11R6/include Menu.C
Menu.C
Menu.C(623): error: redefinition of default argument
CommandMenu::CommandMenu(WindowManager *manager, XEvent *e,
^
compilation aborted for Menu.C (code 2)
make: *** [Menu.o] Error 2
Has anyone else seen this error before, and if so, does anyone else have
any suggestions about how to deal with it?
Thanks,
Andy
Next: