Jump to content

Preprocessor Message Is Incomplete

Recommended Posts

Bug description:

The file and line# are not being included within a preprocessor error message. This makes it extremely difficult to find the cause of the error in larger programs.


Example code:

#include <system.h>

#define "forgot to put symbol name here"

void main(void)
porta = 1;


Although the compiler does display an error message with line# for the above error, it also displays this error:

Error: preprocessing error

In a large program with many errors, it is very difficult to find the cause of this error.


Expected behavior:

Include the file and line# in the error message.


Is the problem 100% reproduceable:






Compiler version:



Target device:

PIC16F1827, etc.



Windows XP



Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...