[Freeciv-Dev] Re: (PR#11591) [Wislist] __attribute__ format for logging
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11591 >
Marko Lindqvist wrote:
> Using gcc's '__attribute__ ((format (printf, ?, ?)))' for logging (and
> some other) functions would catch problems like #11589 when they first
Oh, it's already done for some log functions through fc__attribute.
Using fc__attribute for any gcc __attribute__ seem a bit wrong though.
We should give separate macro for each __attribute__ type we use, so we
don't break old (or new?) versions of gcc by using unsupported
- [Freeciv-Dev] Re: (PR#11591) [Wislist] __attribute__ format for logging functions,
Marko Lindqvist <=