[Bug 3984] New: 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
Wed Feb 25 06:32:13 EST 2009


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

           Summary: code/client/libmumblelink.c:126: warning: passing arg 1
                    of `munmap' from incompatible pointer type
           Product: Quake 3
           Version: unspecified
          Platform: PC
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Platform
        AssignedTo: zakk at icculus.org
        ReportedBy: vincent at cojot.name
         QAContact: quake3-bugzilla at icculus.org


On Solaris10/Sparc, I also get this:

CC code/sys/sys_unix.c
CC code/client/libmumblelink.c
code/client/libmumblelink.c: In function `mumble_link':
code/client/libmumblelink.c:88: warning: int format, uid_t arg (arg 4)
code/client/libmumblelink.c:89: warning: implicit declaration of function
`shm_open'
code/client/libmumblelink.c: In function `mumble_unlink':
code/client/libmumblelink.c:126: warning: passing arg 1 of `munmap' from
incompatible pointer type
CC code/sdl/sdl_glimp.c
LD build/release-sunos-sparc/ioquake3.sparc
CGAME_CC code/cgame/cg_main.c
CGAME_CC code/game/bg_misc.c
CGAME_CC code/game/bg_pmove.c

Under Solaris, shm_open is defined as:
NAME
     shm_open - open a shared memory object

SYNOPSIS
     cc [ flag... ] file... -lrt [ library... ]
     #include <sys/mman.h>

     int shm_open(const char *name, int oflag, mode_t mode);


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



More information about the quake3-bugzilla mailing list