Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1178805 > unrolled thread
| Started by | Vinson Lee <vlee@twopensource.com> |
|---|---|
| First post | 2015-07-07 20:10 +0200 |
| Last post | 2015-07-07 20:10 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
4.2-rc2 perf build error builtin-stat.c:346: error: declaration of ‘close’ shadows a global declaration Vinson Lee <vlee@twopensource.com> - 2015-07-07 20:10 +0200
| From | Vinson Lee <vlee@twopensource.com> |
|---|---|
| Date | 2015-07-07 20:10 +0200 |
| Subject | 4.2-rc2 perf build error builtin-stat.c:346: error: declaration of ‘close’ shadows a global declaration |
| Message-ID | <pJFtD-xb-3@gated-at.bofh.it> |
Hi. 4.2-rc1 commit 106a94a0f8c207ef4113ce7e32f34a00b3b174e7 "perf stat: Introduce read_counters function" introduced a build error with older toolchains. This is the build error on CentOS 6. CC builtin-stat.o cc1: warnings being treated as errors builtin-stat.c: In function ‘read_counters’: builtin-stat.c:346: error: declaration of ‘close’ shadows a global declaration /usr/include/unistd.h:350: error: shadowed declaration is here Cheers, Vinson -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web