[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: System Monitor Applet



On Tue, Jun 10, 2003 at 12:40:35PM +0200, Andreas Rottmann wrote:
> Sven Luther <sven.luther@wanadoo.fr> writes:
> 
> > BTW, my hardware-monitor applet doesn't build with gcc 3.3 anymore, it
> > fails with :
> >
> > monitor-impls.cpp: Dans constructor « CpuUsageMonitor::CpuUsageMonitor(int) »:
> > monitor-impls.cpp:111: error: `assert' undeclared (first use this function)
> > monitor-impls.cpp:111: error: (Each undeclared identifier is reported only
> > 	once for each function it appears in.)
> >
> > A quick glance at the gcc 3.3 page at the gnu site did not give me
> > anything conclusive. Short of simply commenting out all these asserts,
> > do someone know the right solution for this ? Should i just include
> > assert.h in the problematic files ? And if so, do i need to take care to
> > test for pre gcc-3.3 versions and conditionally include the include file ?
> >
> monitor-impls.cpp is missing an #include <assert.h>

Well, i got a new fixed upstream release to work around it. It includes
<cassert.h> though, what is the difference ?

Friendly,

Sven Luther



Reply to: