[Prev][Next][Index]

Bug during installation




I get the warning:
 
pcxx_merge.c: In function `get_next_rec':
pcxx_merge.c:78: warning: passing arg 2 of `read' from incompatible pointer type
 
while doing "make install" on version 1.7 of pC++.  I believe the error
is occurring because you call "read" with a pointer to a struct as its
second argument, when in reality "read" requires a pointer to a char as its
second argument.
 
Is this just an oversensitivity in my compiler, or is some other version
of "read" supposed to be present in my system that can take pointers to
structs in lieu of pointers to chars?
 
Let me know what you think.
 
--sybok@abp.lcs.mit.edu


Follow-Up(s):