diff options
author | David Robillard <d@drobilla.net> | 2011-04-29 03:07:48 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-29 03:07:48 +0000 |
commit | bc44bbcb6a6315aeef5e095bb1b339f35c488b53 (patch) | |
tree | 507b00d829a258da2b07c00cdbd733399a54b577 /src | |
parent | f10d2f2fa60d7aa1b97d866720d23427fe6f9339 (diff) | |
download | lilv-bc44bbcb6a6315aeef5e095bb1b339f35c488b53.tar.gz lilv-bc44bbcb6a6315aeef5e095bb1b339f35c488b53.tar.bz2 lilv-bc44bbcb6a6315aeef5e095bb1b339f35c488b53.zip |
More GCC-like error and warning messages.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3229 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/lilv_internal.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/lilv_internal.h b/src/lilv_internal.h index af0750f..ca553ca 100644 --- a/src/lilv_internal.h +++ b/src/lilv_internal.h @@ -382,11 +382,14 @@ lilv_dlfunc(void* handle, const char* symbol) static const LV2_Feature* const dman_features = { NULL }; #endif -#define LILV_ERROR(str) fprintf(stderr, "ERROR: %s: " str, __func__) -#define LILV_ERRORF(fmt, ...) fprintf(stderr, "ERROR: %s: " fmt, __func__, __VA_ARGS__) - -#define LILV_WARN(str) fprintf(stderr, "WARNING: %s: " str, __func__) -#define LILV_WARNF(fmt, ...) fprintf(stderr, "WARNING: %s: " fmt, __func__, __VA_ARGS__) +#define LILV_ERROR(str) fprintf(stderr, "%s: error: " str, \ + __func__) +#define LILV_ERRORF(fmt, ...) fprintf(stderr, "%s: error: " fmt, \ + __func__, __VA_ARGS__) +#define LILV_WARN(str) fprintf(stderr, "%s: warning: " str, \ + __func__) +#define LILV_WARNF(fmt, ...) fprintf(stderr, "%s: warning: " fmt, \ + __func__, __VA_ARGS__) #ifdef __cplusplus } |