|
Re: WPILib and FRC default code
Is it just me or do the errors in MPLab come up one at a time? It seems every time i fix one error i get another one. Is there a way to change that?
The errors i get include things like "_entry_scn" is defined more than once.
Pretty much the same message over and over again just with different variables. The way that i figured i would fix the problem is that i can #ifdef "variable" ... #endif the section of code that has the problem. If the variable is defined skip this code, if it's not defined use this code to define it.
I would like to do this on a large scale but i don't know how.
I'd like to #ifdef for all variables in the code. And if they are not defined elsewhere in the code check in WPILib, if they are defined elsewhere skip WPILib.
Edit 1-22-08: By saying variables i mean functions in the libraries.
Last edited by CRBreingan : 22-01-2008 at 12:59.
|