xserver-multidpi/os
Jeremy Huddleston c524f8bb76 os: Silence warnings when building with clang
access.c:1492:20: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses]
        if ((host->family == FamilyServerInterpreted)) {
             ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
access.c:1492:20: note: use '=' to turn this equality comparison into an assignment
        if ((host->family == FamilyServerInterpreted)) {
                          ^~
                          =
access.c:1492:20: note: remove extraneous parentheses around the comparison to silence this warning
        if ((host->family == FamilyServerInterpreted)) {
            ~             ^                         ~

In file included from xstrans.c:8:
In file included from /usr/X11/include/X11/Xtrans/transport.c:62:
/usr/X11/include/X11/Xtrans/Xtranssock.c:262:5: error: implicit declaration of function 'ErrorF' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
    PRMSG (3,"SocketSelectFamily(%s)\n", family, 0, 0);
    ^

log.c:180:29: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
        if (asprintf(&logFileName, fname, display) == -1)
                                   ^~~~~
log.c:190:26: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
                if ((asprintf(&suffix, backup, display) == -1) ||
                                       ^~~~~~
log.c:382:25: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
        LogVWrite(verb, tmpBuf, args);
                        ^~~~~~

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
2011-04-25 10:45:34 -07:00
..
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
access.c os: Silence warnings when building with clang 2011-04-25 10:45:34 -07:00
auth.c Constify function prototypes in auth & xdmcp code 2010-05-07 12:22:58 -07:00
backtrace.c Miscellaneous compilation warning fixes 2009-12-08 15:50:28 -08:00
client.c os/client: Prevent rare fd leak in DetermineClientPid 2011-03-27 18:16:36 -07:00
connection.c os: fix use after free in EstablishNewConnections 2011-04-07 19:57:38 +03:00
io.c os: Fix BigReq ignoring when another request is pending 2010-11-10 14:58:28 -08:00
log.c os: Silence warnings when building with clang 2011-04-25 10:45:34 -07:00
Makefile.am os: Add facilities for client ID tracking. 2010-12-23 13:53:18 +02:00
mitauth.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
oscolor.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
osdep.h os: always check if client is local when connection is accepted 2010-12-31 12:52:51 +00:00
osinit.c Consolidate all the PATH_MAX handling into misc.h 2011-03-14 13:42:55 -04:00
rpcauth.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
strcasecmp.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
strcasestr.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
strlcat.c os: include dix-config.h, not xorg-config.h 2010-11-11 08:41:38 +10:00
strlcpy.c os: include dix-config.h, not xorg-config.h 2010-11-11 08:41:38 +10:00
utils.c os: fix memory and fd leaks in Popen 2011-04-04 15:41:47 +03:00
WaitFor.c os: Reduce smart scheduler setup calls 2011-01-20 21:08:17 -05:00
xdmauth.c Replace deprecated bzero with memset 2010-06-06 15:07:27 +07:00
xdmcp.c When XDMCP -from is specified, only register the requested address 2011-03-14 13:11:38 -07:00
xprintf.c Typo in xserver Xvasprintf() 2010-12-18 00:22:29 -08:00
xsha1.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xstrans.c os: Silence warnings when building with clang 2011-04-25 10:45:34 -07:00