Annoying warning

Christian Bauer cbauer at student.physik.uni-mainz.de
Sun Feb 3 13:45:04 CET 2002


Hi!

On Sat, Feb 02, 2002 at 10:56:38PM +0100, Alexander Frink wrote:
> > there is a warning about an unused parameter due to
> > line 84 in basic.h (GiNaC 1.0.5):
> 
> Which compiler/switches do you use?
> Maybe __attribute__ ((unused)) helps (for gcc 3.x).

I'd suggest -Wno-unused-parameter. Unused parameters are common in C++,
with all the overloaded functions.

Bye,
Christian

-- 
  / Coding on PowerPC and proud of it
\/ http://www.uni-mainz.de/~bauec002/



More information about the GiNaC-devel mailing list