View unanswered posts | View active topics It is currently Wed Sep 24, 2014 12:27 am






Reply to topic  [ 1 post ] 
Stripping unused code from source 
Author Message
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3223
Location: Rotterdam, The Netherlands
Post Stripping unused code from source
This is for the developers. Does the compiler remove dead code and unused variables from the sources before it is assembled and uploaded to the brick?

Xander

Edit: OK, I should've looked a little harder. The dead code part is in the compiler options, the unused variable question still stands, or do they also fall into the category of dead code?

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Sat Nov 01, 2008 6:05 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.