On 05/02/2010 06:21 PM, Tom Shaw wrote: > At 6:07 PM +0300 5/2/10, Török Edwin wrote: >> We're getting closer. >> T > > Thanks, Edwin. That worked. Installed and tried to get version but got: > > $ /usr/local/clamav/bin/clambc-compiler -v
Please use --version. > clang -cc1 version 1.1 based upon llvm 2.7 hosted on i386-apple-darwin9 > re2c: error: cannot re-open <stdin> > error: re2c command failed with exit code 1 (use -v to see invocation) This happens because there was no input specified, I'll fix it some time. > > Compiler exited with code 1! > > Going to now look for an example to insure its working correctly. > > Thanks again. > > Tom > PS > > What the heck is the .data() function? std::vector<int> A; A.data() ^ this returns a pointer to the beginning of memory that stores the data for the vector. It is the same as &A[0]. My gcc (4.4, Linux) has .data(), yours doesn't. Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml