CMU-Robotics-Club / RoboBuggy

99 problems, but a driver ain't one. (Push code, not buggies)
25 stars 5 forks source link

Makefile modification to compile with no warning and only the necessary files #464

Closed grypoB closed 7 years ago

grypoB commented 7 years ago

Reviewed the current Makefile and modified how the compilation was done to remove the following issues:

For this, a new set of flags for C++ compilation was created, and the way headercheck.py (for RBSM communication) and fingerprint.py (for compilation time) are run during compilation was modified.

main.cpp was changed to clear some warning due to the presence of the new c++ flag -Wmissing-declarations (equivalent of the c -Wmissing-prototypes).

ramensandwich commented 7 years ago

Has this been tested and its output runs fine on the buggy?

grypoB commented 7 years ago

This branch has been merged into buckley-cpp-changes (see #463)