« Return to Thread: MPLAB Pre-processor

Re: MPLAB Pre-processor

by Olin Lathrop :: Rate this Message:

Reply to Author | View in Thread

Justin Richards wrote:
> I have been trying to merge free snippets of code and having problems
> with the MPLAB pre-processor.

There is no such thing as a "MPLAB preprocessor".

MPASM doesn't really have a preprocessor.  My PREPIC program is a
preprocessor for MPASM, which adds a bunch of nice features to PIC assembler
source code.

> C:\data\MPLAB\Ethernet\MyPicWeb\src\net\include\StackTsk.h:65:Error
> [1099] Invalid MAX_TCP_SOCKETS value specified.

Judging fromt the .h suffix, this looks like you're asking about the
preprocessor for whatever C compiler you are using.

Step back and understand the distinction between MPLAB, your C compiler, and
its preprocessor.  Until then things won't make any sense and you will
continue to ask questions that don't make sense.


********************************************************************
Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.
--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

 « Return to Thread: MPLAB Pre-processor