Bill Florac

No MSL support

Discussion created by Bill Florac on Dec 28, 2006
Latest reply on Dec 28, 2006 by Bill Florac
I want to create a project without MSL support. It seem that the complier tries to optimize the following to a funciton called __clear() that is in the MSL even though I have not included it in the project. It gives me an link error that __clear can not be found.  Is there some project setting that cleans this up? I don't have any optimizations turned on.
 
char foo[2] = {0,0};  // FAILS, calls __clear
 
Of course if I don't initialize to 0 it works as __clear is not called.
 
char foo[2] = {1,1};  //OK, does not call __clear
 
 

Outcomes