On Sun, Feb 14, 2010 at 02:15, Andre Poenitz
<andre.poen...@mathematik.tu-chemnitz.de> wrote:
>> 3. a forgotten static_cast in src/support/FileName.cpp
>
>
>        @@ -558,7 +558,7 @@
>                crc.process_block(beg, end);
>                result = crc.checksum();
>
>        -       munmap(mm, info.st_size);
>        +       munmap(static_cast<char *>(mm), info.st_size);
>                close(fd);
>
> This seems to be Solaris-specific. So a configure check might be needed
> (unless we decide an #ifdef is fine...)

It is sufficient to add
#define _XOPEN_SOURCE 500
on top of FileName.cpp to have munmap accept void* as first parameter...

Bye...Frank

Reply via email to