forked from ariadne/pkgconf
Merge pull request 'Fix macro definition interfering with -Wmisleading-indentation' (#241) from dcbaker/pkgconf:submit/misleading-indentation into master
Reviewed-on: ariadne/pkgconf#241master
commit
d240afe7d9
|
@ -298,11 +298,11 @@ PKGCONF_API bool pkgconf_default_error_handler(const char *msg, const pkgconf_cl
|
|||
#if defined(__GNUC__) || defined(__INTEL_COMPILER)
|
||||
#define PKGCONF_TRACE(client, ...) do { \
|
||||
pkgconf_trace(client, __FILE__, __LINE__, __PRETTY_FUNCTION__, __VA_ARGS__); \
|
||||
} while (0);
|
||||
} while (0)
|
||||
#else
|
||||
#define PKGCONF_TRACE(client, ...) do { \
|
||||
pkgconf_trace(client, __FILE__, __LINE__, __func__, __VA_ARGS__); \
|
||||
} while (0);
|
||||
} while (0)
|
||||
#endif
|
||||
#else
|
||||
#define PKGCONF_TRACE(client, ...)
|
||||
|
|
|
@ -12,6 +12,7 @@ add_project_arguments(
|
|||
'-D_DEFAULT_SOURCE',
|
||||
cc.get_supported_arguments(
|
||||
'-Wimplicit-function-declaration',
|
||||
'-Wmisleading-indentation',
|
||||
),
|
||||
language : 'c',
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue