2010/1/28 Török Edwin <[email protected]>: > On 01/28/2010 12:16 PM, Renato Botelho wrote: >> Hello again, >> >> I've tested this snapshot on my personal tinderboxes and got no problems, >> but after commit the changes i recieved an email from QAT, freebsd automated >> tests with an error on unit tests. Buildlog can be found here: >> >> http://qat.tecnik93.com/logs/8-STABLE-NPD/clamav-devel-20100127.log >> > > Reproduced on Debian too with g++-4.2. > >> Any idea? >> > > I added -fno-rtti to CXXFLAGS, and everything worked fine here (gcc 4.4). > Apparently with gcc 4.2 googletest needs RTTI due to some system header. > > Does the attached patch help (it disables -fno-rtti for now)?
I reproduced the problem on 9.0-CURRENT, and yes, the patch fixed the problem. Should I commit this ir there is a better solution that i need to wait? -- Renato Botelho _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net
