Annoying warning

Alexander Frink frink at thep.physik.uni-mainz.de
Sat Feb 2 22:56:38 CET 2002


On Sat, 2 Feb 2002, Roberto Bagnara wrote:
> there is a warning about an unused parameter due to
> line 84 in basic.h (GiNaC 1.0.5):
> 
> 	virtual void destroy(bool call_parent) { }
> 
> Having seen the warning a million times I thought
> it was better to report it ;-)

Which compiler/switches do you use?
Maybe __attribute__ ((unused)) helps (for gcc 3.x).

Alex

-- 
Alexander Frink                      E-Mail: Alexander.Frink at Uni-Mainz.DE
Institut fuer Physik                 Phone:  +49-6131-3923391
Johannes-Gutenberg-Universitaet
D-55099 Mainz, Germany




More information about the GiNaC-devel mailing list