Mail Archives: pgcc/1999/12/26/17:19:14
On Sat, Dec 25, 1999 at 06:25:33PM +0100, j DOT saito AT wanadoo DOT fr wrote:
> -I/usr/local/include/sensors/ -g -O2 -c MonitorSensors.cpp
> MonitorSensors.cpp: In method `MonitorWindow::MonitorWindow()':
> MonitorSensors.cpp:125: taking the address of a non-static member function
> MonitorSensors.cpp:125: to form a pointer to member function, say
> `&MonitorWindow::timer'
> MonitorSensors.cpp: In method `gint MonitorWindow::timer()':
> MonitorSensors.cpp:131: taking the address of a non-static member function
> MonitorSensors.cpp:131: to form a pointer to member function, say
> `&MonitorWindow::timer'
> make[1]: *** [MonitorSensors.o] Error 1
> make[1]: Leaving directory `/usr/local/src/MonitorSensors-1.2/src'
> make: *** [all-recursive] Error 1
>
> I was told that it could be compiled with egcs 1.1.2.
These are bugs in the code that 1.1.2 didn't flag.
> Is there a quick fix for this failure ?
Well, it depends on how easy it is to fix the code in question ;) You can
try to make gcc more forgiving with the -fpermissive flag, but this only
works for some minor bugs.
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg AT opengroup DOT org |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
- Raw text -