* cleanup CMakeLists.txt
* build with more warnings, warnings as errors
* fix expression has no effect warning
* fix unused parameter warnings
* fix loss of precision warning
* remove obsolete files
This way, applications don't need to know the details of every header
file that exists in the API. With a simple:
#include <ethercat.h>
they would get everything. This is specially important because the
order of including the header files is important!
Signed-off-by: Shahbaz Youssefi <syoussefi@kinova.ca>