Skip to content
Snippets Groups Projects
  1. Jul 08, 2011
  2. Jul 01, 2011
  3. Jun 30, 2011
  4. Jun 20, 2011
  5. Jun 17, 2011
  6. Jun 11, 2011
  7. Jun 06, 2011
  8. Jun 03, 2011
  9. Jun 02, 2011
  10. May 29, 2011
  11. May 28, 2011
  12. May 23, 2011
  13. May 21, 2011
  14. May 17, 2011
  15. May 14, 2011
  16. May 11, 2011
    • Jeremy Huddleston Sequoia's avatar
      os: Silence warnings when building with clang · 277e1889
      Jeremy Huddleston Sequoia authored
      
      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: default avatarJeremy Huddleston <jeremyhu@apple.com>
      Reviewed-by: default avatarJamey Sharp <jamey@minilop.net>
      (cherry picked from commit c524f8bb)
      277e1889
  17. May 06, 2011
  18. May 05, 2011
  19. May 04, 2011
Loading