On Thu, Jan 02, 2014 at 03:46:33PM +0100, Joerg Mayer wrote:
> /home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c: In function ‘read_block’:
> /home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c:118:5: error: passing argument 3 of ‘file_read’ from incompatible pointer type [-Werror]
> bytes_read = file_read((void *)buf, buf_len, fh);
> ^
> In file included from /home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c:68:0:
> /home/jmayer/work/wireshark/svn/trunk/filetap/file_wrappers.h:40:19: note: expected ‘FILE_F’ but argument is of type ‘FILE_T’
> WS_DLL_PUBLIC int file_read(void *buf, unsigned int count, FILE_F file);
> ^
> /home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c:120:9: error: passing argument 1 of ‘file_error’ from incompatible pointer type [-Werror]
> *err = file_error(fh, err_info);
> ^
> In file included from /home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c:68:0:
...
OK, looks like it isn't a good idea to have identically named include files
./wiretap/file_wrappers.h
./filetap/file_wrappers.h
Will fix this.
Ciao
Jörg
--
Joerg Mayer <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.