Jump to content
Sign in to follow this  
Thorn

File parsing Issue

Recommended Posts

I have found a problem(sort of) with the file names you give your project.

 

To create the issue you first create a new project with a filename of at least 2 words with whitespace between each word.

 

When you go to compile it it will give an error

FATAL: Unable to open input file ???????.asm

 

???? = the last word in the filename. if the filename is (This name.asm) the ??? willl be name.asm

 

I have tried this a couple of times and same result every time.

 

The compiler is called by the IDE with the following specs.

 

C:\PROGRA~1\SOURCE~1\c2c.exe -PPIC16F876 -SRC -ols -md -O2 -Ip16F876.inc -oError out.asm  ERRORO~1.C

 

It is easy to see why the compiler is choking on this.. instead of -oError out.asm it should have quotes like standard windows arguments. "-oError out.asm". This will also involve some changes in the compiler as it cannot handle the multiple words.

 

I think long filename support would be a good change instead of using ERRORO~1.C

 

Thanks,

Cliff

Share this post


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.

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

Loading...
Sign in to follow this  

×
×
  • Create New...