URL:
  <http://gna.org/bugs/?18081>

                 Summary: warning: null format string
                 Project: Freeciv
            Submitted by: akfaew
            Submitted on: Thu 28 Apr 2011 08:43:15 AM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:

Compiling freeciv trunk on freebsd gives me millions of "warning: null format
string". That is because sometimes fc_assert is called with message == NULL,
and since __attribute__ __printf__ does printf-like checks it complains.

log.h:
    111 void fc_assert_fail(const char *file, const char *function, int
line,
    112                     const char *assertion, const char *message, ...)
    113                     fc__attribute((__format__ (__printf__, 5, 6)));




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?18081>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to