Is this expected behaviour?

General discussion on mikroPascal PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
JohnGB
Posts: 183
Joined: 17 Feb 2013 18:59

Is this expected behaviour?

#1 Post by JohnGB » 10 May 2013 09:16

I have just merged to units and saved the new unit. I removed the old units from the project and added the new unit. When I built the program it was still referencing the old hence I was getting lots of redefinition errors.

It would appear I have to completely remove the original files before the compile lets go of them.

Is this what is supposed to happen or is this a bug?
JohnB
MikroPascal for PIC18 and DsPIC, Visual TFT

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Is this expected behaviour?

#2 Post by filip » 13 May 2013 09:36

Hi,

I have tried exactly what you said but didn't experience this issue.
Please, can you explain to me step by step how to reproduce this issue ?
Which version of the compiler are you using ?

Regards,
Filip.

JohnGB
Posts: 183
Joined: 17 Feb 2013 18:59

Re: Is this expected behaviour?

#3 Post by JohnGB » 13 May 2013 14:16

I don't think I can replicate the exact process I went through, although I have to admit I did find 1 reference to the old file name in one of my uses section, however, I would have expected the error report to be more like cannot find "xxx" in this project.
JohnB
MikroPascal for PIC18 and DsPIC, Visual TFT

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Is this expected behaviour?

#4 Post by filip » 14 May 2013 08:19

Hi,

OK, if you ever run across this issue again, please inform us.

Regards,
Filip.

jpc
Posts: 1986
Joined: 22 Apr 2005 17:40
Location: France 87

Re: Is this expected behaviour?

#5 Post by jpc » 14 May 2013 20:36

do you have the option 'allways build all files in project' set? this may be the reason the compiler still references old files.
Au royaume des aveugles, les borgnes sont rois.

Post Reply

Return to “mikroPascal PRO for dsPIC30/33 and PIC24 General”