In public rootstrap, dlog-internal.h is removed.
So,
"#pragma GCC diagnostic warning "-Wformat"" will be applied instead of
"#pragma GCC diagnostic error "-Wformat""
Change-Id: I56beb06ac1cdb17fee45411e32f058f56b743bba
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
#ifndef _DLOG_H_
#define _DLOG_H_
-
#include <stdarg.h>
#include <string.h>
#include <tizen_error.h>
+#pragma GCC diagnostic warning "-Wformat"
#include "dlog-internal.h"
#ifdef __cplusplus
}
* @endcode
*/
-int dlog_print(log_priority prio, const char *tag, const char *fmt, ...);
+int dlog_print(log_priority prio, const char *tag, const char *fmt, ...) __attribute__((format(printf, 3, 4)));
/**