"Unsupported include directive within macro arg" build failure(s)
clang 3.9.1
#include
void foo() {
printf("foo"
#include "version.h"
);
}
with version.h
#define foo 1
$ clang -c -O2 -D_FORTIFY_SOURCE=2 foo.c
foo.c:5:2: error: embedding a #include directive within macro arguments is not
supported
#include "version.h"
^
1 error generated.
# Works
$ gcc -c -O2 -D_FORTIFY_SOURCE=2 foo.c
Package | Version | Supposed error message | Full log |
Bug report |
cmdpack | 1.03-1 | src/banner.h:7:2: error: embedding a #include directive within macro arguments is not supported
| Log |
|
hnb | 1.9.18+ds1-1 | prefs.c:92:2: error: embedding a #include directive within macro arguments is not supported
| Log |
|
libsmpp34 | 1.10-1 | ../src/smpp34_params.c:140:2: error: embedding a #include directive within macro arguments is not supported
| Log |
|
3 errors