__PRETTY_FUNCTION__ is a gcc extension. It doesn't exists under Sun 
Studio CC compiler.

It's used inside clamdtop/clamdtop.c, macro EXIT_PROGRAM.

A lazy solution, which worked for me, is to launch configure this way :

  ./configure [options] CPPFLAGS="-D__PRETY_FUNCTION__=__func__"

Other solutions are checking it (inside configure) and defining the 
appropriate value, or using __func__, which is allways portable.

Shall I open a bug ?
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to