CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 5 matches
CCS Forum Index
Author Message
  Topic: Command line parameters with preprocessor defines
nikolai

Replies: 5
Views: 11081

PostForum: General CCS C Discussion   Posted: Tue Oct 22, 2013 8:00 am   Subject: Command line parameters with preprocessor defines
As expected I made a stupid error. I had an #endif commented out and all of the defines below it weren't being detected. No initializing the variables in the command line to ANY value works as expec ...
  Topic: Command line parameters with preprocessor defines
nikolai

Replies: 5
Views: 11081

PostForum: General CCS C Discussion   Posted: Mon Oct 21, 2013 2:22 pm   Subject: Command line parameters with preprocessor defines
I've tried defining them with values and they don't get detected by the #ifdef statements in the code. When I did this manually my code would look like this:

#define TYPE
#ifdef TYPE
do someth ...
  Topic: Command line parameters with preprocessor defines
nikolai

Replies: 5
Views: 11081

PostForum: General CCS C Discussion   Posted: Mon Oct 21, 2013 1:19 pm   Subject: Command line parameters with preprocessor defines
I have an application that I maintain for different versions of hardware. Essentially there are preprocessor define statements throughout the code that control what code is compiled for each hardware ...
  Topic: Signed Long and Constant Multiplication
nikolai

Replies: 2
Views: 4279

PostForum: General CCS C Discussion   Posted: Wed Apr 28, 2010 7:32 am   Subject: Signed Long and Constant Multiplication
Thanks. Changing the order does give me the correct results. I wonder if this was ever fixed.
  Topic: Signed Long and Constant Multiplication
nikolai

Replies: 2
Views: 4279

PostForum: General CCS C Discussion   Posted: Wed Apr 28, 2010 7:08 am   Subject: Signed Long and Constant Multiplication
I am using an older version of the compiler: v3.249

I believe I may have found a bug, which may have actually been corrected in recent releases, but I don't want to pay for the upgrade unless I am ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group