"Expression result unused" build failure(s)
clang 3.1
clang triggers a warning on this useless usage of the define. The -Werror causes the failure.
#define bar(int) (1)
void foo() {
bar(2);
}
With gcc, this warning is only displayed with -Wall.
Package | Version | Supposed error message | Full log |
Bug report |
binutils | 2.22-6.1 | ../../bfd/opncls.c:256:5: error: expression result unused [-Werror,-Wunused-value]
| Log |
|
gdb | 7.4.1-1.1 | opncls.c:249:5: error: expression result unused [-Werror,-Wunused-value]
| Log |
|
ngorca | 1.0.2-2 | ngorca.c:173:14: error: expression result unused [-Werror,-Wunused-value]
| Log |
740189
|
3 errors