• Cedric Roux's avatar
    redo commit cb67d586 · 94dd8843
    Cedric Roux authored
    Seems like this commit got lost at some point.
    
    Here was the message:
    -----------------------------------------------------------------------------
    Author: Cedric Roux <cedric.roux@eurecom.fr>
    Date:   Tue Jan 10 14:21:02 2017 +0100
    
        add format indicator to get LOG_X warnings
    
        The LOG_X macros emit a lot of warnings when compiling with the T
        because they call the function logRecord (or logRecord_mt)
        which has not been "marked" as calling printf, so gcc won't
        emit typical printf warnings.
    
        With the T, they directly translate to sprintf, so those warnings
        pop up, much more verbose due to several macro expansions.
    
        Let's make them pop up all the time so it's easier to fix them.
    -----------------------------------------------------------------------------
    94dd8843
log.h 14.6 KB