[quake3-bugzilla] [Bug 3984] code/client/libmumblelink.c:126: warning: passing arg 1 of `munmap' from incompatible pointer type

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Tue Sep 15 01:09:39 EDT 2009


http://bugzilla.icculus.org/show_bug.cgi?id=3984

--- Comment #4 from Vincent Cojot <vincent at cojot.name> 2009-09-15 01:09:37 EDT ---
Here's an excerpt from Solaris sys/mman.h:

#ifdef  __STDC__
#if (_POSIX_C_SOURCE > 2) || defined(_XPG4_2)
extern void *mmap(void *, size_t, int, int, int, off_t);
extern int munmap(void *, size_t);
extern int mprotect(void *, size_t, int);
extern int msync(void *, size_t, int);
#if (!defined(_XPG4_2) || (_POSIX_C_SOURCE > 2)) || defined(__EXTENSIONS__)
extern int mlock(const void *, size_t);
extern int munlock(const void *, size_t);
extern int shm_open(const char *, int, mode_t);
extern int shm_unlink(const char *);
#endif  /* (!defined(_XPG4_2) || (_POSIX_C_SOURCE > 2))... */

I wonder if this has to do with any of these flags.. (In that case that'd be a
Solaris bundled compiler issue).

-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list