Jump to content

Incorrect Handling Of Include Path

Recommended Posts

Bug description:

When using the command line compiler, it won't find the include file if the drive letter is included in the include option


Steps to reproduce:

include a header file which is not in the current directory. On the command line specify an include search directory that doesn't include the drive letter, but is pathed from root.



boostc.pic18.exe -t PIC18f2455 -I \projects\include main.c


this won't find an include file. However this line will


boostc.pic18.exe -t PIC18f2455 -Ic:\projects\include main.c



Expected behaviour:

specifying a path from root without the drive letter is valid and should go from the root of the current drive for the current workign directory


Is the problem 100% reproduceable:



IDE version: boostc.pic18.exe V 6.15

Compiler: Compiler (BoostC, C2C-plus, C2C++ or P2C-plus)

Compiler version: Compiler version

Target device: PICXXXXX

OS: OS version



At work, using vc6 and vc7, we use different drive letters to distinguish between development, testing and release versions of code. We only use paths that do not include a drive letter. Although I use Boostc at home, I have my own build environment and would prefer not having to include drive letters





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...