View previous topic :: View next topic |
Author |
Message |
jorge
Joined: 29 Nov 2009 Posts: 6 Location: germany
|
pcwh v.4.023 |
Posted: Wed Jan 20, 2010 6:43 pm |
|
|
Hello,
I changed my compiler PCWH from 3.212 to 4.023. My program was working fine under the first one, but now I get the compilation error Nr. 165 "No overload function matches". The manual doesn't reveal anything about it.
Could anybody give a hint how to solve the problem?
Jorge |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Jan 20, 2010 7:46 pm |
|
|
Put this text into the forum's search engine:
Quote: | No overload function matches |
http://www.ccsinfo.com/forum/search.php
Set it to do this type of search:
Quote: | Search for all terms |
There are a few threads on this problem in the archives.
See if they answer your question.
If not, post the line of code that causes the problem. |
|
|
jorge
Joined: 29 Nov 2009 Posts: 6 Location: germany
|
pcwh v.4.023 |
Posted: Thu Jan 21, 2010 3:03 am |
|
|
Thank you for the help,
its solved by removing all prototype functions in the main program.
Best wishes
Jorge |
|
|
lsimaster
Joined: 19 Mar 2009 Posts: 25
|
compiler rev warning |
Posted: Sun Jan 24, 2010 1:51 pm |
|
|
CCS has a reasonably priced product but there are frequent problems with backwards compatibilty. We have been using the CCS compiler for about 15 years and have seen numerous instances of this problem.
The solution has been to install subsequent versions separately so when it becomes necessary to maintain some old code we can use the original version. This was learned after instances of rewriting entire programs. For this reason we do not use the auto update utility as this will write over the existing revision. This recently happened when upgraded to v4.104 which would not compile a program currently in development. Luckily 4.099 is OK.
In my opinion this strategy is essential as a long term support strategy. |
|
|
Guest
|
|
Posted: Sun Jan 24, 2010 3:00 pm |
|
|
Thank you for this hint. I am going to install both versions of compiler I have. That will save a lot of time maintaining existing programs.
Best wishes
Jorge |
|
|
ELCouz
Joined: 18 Jul 2007 Posts: 427 Location: Montreal,Quebec
|
|
Posted: Mon Jan 25, 2010 7:44 pm |
|
|
Quote: | I changed my compiler PCWH from 3.212 to 4.023. |
The version 4.023 is very old and very buggy! (somewhere around 2007)
Please upgrade to the last generation of the V4 compiler _________________ Regards,
Laurent
-----------
Here's my first visual theme for the CCS C Compiler. Enjoy! |
|
|
|