Including custom Libraries

From ROBOTC API Guide
Revision as of 19:52, 15 May 2012 by Bfeher (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
General ProgrammingProgramming Tips Tricks → Including custom Libraries


If you have included your own library of functions, for example:

#include "motorLib.c"

You can suppress warnings about unused functions by including the line:

#pragma systemFile            // eliminates warning for "unreferenced" functions

in the top of that file.


This tip was posted by jpearman over at http://www.vexforum.com/showpost.php?p=220744&postcount=1.