"Expression result unused" build failure(s)
clang 3.2
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-7.1 | ../../bfd/opncls.c:256:5: error: expression result unused [-Werror,-Wunused-value]
| Log |
|
binutils-mingw-w64 | 2 | ../../../upstream/bfd/opncls.c:256:5: error: expression result unused [-Werror,-Wunused-value]
| Log |
|
binutils-msp430 | 2.22~msp20120406-2 | opncls.c:249:5: error: expression result unused [-Werror,-Wunused-value]
| Log |
|
binutils-z80 | 2.22-3 | opncls.c:256:5: error: expression result unused [-Werror,-Wunused-value]
| Log |
|
gdb | 7.4.1+dfsg-0.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
|
6 errors