View previous topic :: View next topic |
Author |
Message |
JackK
Joined: 16 Oct 2020 Posts: 5
|
Missing Preprocessors |
Posted: Fri Oct 16, 2020 4:32 pm |
|
|
I am definitely not an experienced user. A couple of classes. I am using MPLAB X ver 5.4 because of the functionality it provides. But, it seems that all the # preprocessors aren't there. Like #IMPORT and #EXPORT. The CCS compiler is ver 5.095. Am I doing something wrong? |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Oct 16, 2020 9:05 pm |
|
|
#import and #export are commands built in to the CCS compiler.
Most CCS users don't use them. They are for advanced users.
Why do you think you need them ?
Give an example of how you're using them in a CCS program. |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9221 Location: Greensville,Ontario
|
|
Posted: Sat Oct 17, 2020 4:58 am |
|
|
I was wondering the same thing ! In 2+ decades I've never used them, though 'thinking' maybe it's part of the MCU way of programming ??
An example would be nice to see.
Heck my compiler's so old, it doesn't understand int64 !!!
Jay |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19496
|
|
Posted: Sat Oct 17, 2020 9:28 am |
|
|
int64, doesn't exist with CCS, unless you are on one of the PIC24/30/33
processors. So 'not surprising' that they are not routine!... |
|
|
|