Justin Richards escreveu:
> I have been trying to merge free snippets of code and having problems with
> the MPLAB pre-processor.
>
> Is there a way to debug the pre-processor directives.
>
> I get the following error,
>
> C:\data\MPLAB\Ethernet\MyPicWeb\src\net\include\StackTsk.h:65:Error [1099]
> Invalid MAX_TCP_SOCKETS value specified.
>
> but MAX_TCP_SOCKETS is clearly defined as
>
> #define MAX_TCP_SOCKETS (8ul)
>
This message is probably not being issued by the preprocessor itself,
but by some #error directive inside an #if.
The author of the code is probably testing for invalid values that won't
work when compiled.
Regards,
Isaac
__________________________________________________
Faça ligações para outros computadores com o novo Yahoo! Messenger
http://br.beta.messenger.yahoo.com/
--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist