intel / numatop

NumaTOP is an observation tool for runtime memory locality characterization and analysis of processes and threads running on a NUMA system.
BSD 3-Clause "New" or "Revised" License
197 stars 47 forks source link

Minor build warning fixes #23

Closed ColinIanKing closed 8 years ago

ColinIanKing commented 8 years ago

I've been building numatop against gcc 6.2.0 with some extra build flags to see if there are any minor issues that gcc finds. Just a few minor changes to the code to get a clean build. The largest changes are to stop duplicate extern declarations that were scattered around various headers.

For building checking used:

CFLAGS += -Wabi -Wcast-qual -Wfloat-equal -Wmissing-declarations \ -Wmissing-format-attribute -Wno-long-long -Wpacked \ -Wredundant-decls -Wshadow -Wno-missing-field-initializers \ -Wno-missing-braces -Wno-sign-compare -Wno-multichar