Author |
Message |
Topic: Unpredictable printf behaviour |
DeniTCH
Replies: 5
Views: 7920
|
Forum: General CCS C Discussion Posted: Mon Aug 29, 2011 2:28 am Subject: Unpredictable printf behaviour |
Elegant solution! I should have thought of that myself! Do you know if CCS supports __VA_ARG__ support in macros for full implementation of printf? |
Topic: Unpredictable printf behaviour |
DeniTCH
Replies: 5
Views: 7920
|
Forum: General CCS C Discussion Posted: Fri Aug 26, 2011 6:24 am Subject: Unpredictable printf behaviour |
Thanks for the fast response! Well, this explains a lot. It does not help to manually assign the STDOUT nor STDIO stream name to the correct port. Is there a way to come around this without renaming a ... |
Topic: Unpredictable printf behaviour |
DeniTCH
Replies: 5
Views: 7920
|
Forum: General CCS C Discussion Posted: Fri Aug 26, 2011 1:45 am Subject: Unpredictable printf behaviour |
Hi, I am experiencing a strange problem with multiple rs232 ports. I am using compiler version PCH V4.104 with PIC18F6680. The device contains one hardware UART. I have configured the device to use th ... |
Topic: Mystical long long datatype behaviour |
DeniTCH
Replies: 4
Views: 6775
|
Forum: General CCS C Discussion Posted: Fri Aug 26, 2011 1:26 am Subject: Mystical long long datatype behaviour |
I have also decided to use the 'explicit' datatypes now, for exactly that reason. Trust no one, except yourself |
Topic: Mystical long long datatype behaviour |
DeniTCH
Replies: 4
Views: 6775
|
Forum: General CCS C Discussion Posted: Wed Aug 24, 2011 6:57 am Subject: Mystical long long datatype behaviour |
I have found the error, which of course was on my side. The length of the "long" datatype was redefined higher in the build system, which we are using. As it was not written by me I ... |
Topic: Mystical long long datatype behaviour |
DeniTCH
Replies: 4
Views: 6775
|
Forum: General CCS C Discussion Posted: Tue Aug 09, 2011 5:55 am Subject: Mystical long long datatype behaviour |
Hi, I am currently experiencing quite strange behavior when using variables of the long long type.
My compiler version is: 4.104, I am using PIC18F6680 with the following configuration:
//--- ... |
|