Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unsolved Compile Warning message

Status
Not open for further replies.

TinLegs

Programmer
Jan 14, 2003
100
NZ
Greetings all. I have a Legacy app using the RTF template on an Update window but when I compile the app (C6.1) I get the following warning:

(RTF.INT 418,1) Warning:Redefining system intrinsic:VERSION

To date I have not been able to find any reference to this warning. The warning does not appear on a following compile if no changes have been made to the app. Any help in identifying its cause would be greatly appreciated.
 
Hi TinLegs,

Just rename the VERSION as RTFVersion in the RTF.INT. Also edit the RTFCTL.clw and change VERSION to RTFVersion in the line "IF SELF.RTF.RTFVersion() < 0300h".

That's what I did.

Regards
 
This should be posted on PTSS.

FYI, the LRM says:
--------------------------------------------
Redefining system intrinsic: %V

A Warning that the named procedure (part of your source code) has the same name as a Clarion run time library procedure and that your procedure will be called instead of the built-in library's.
--------------------------------------------

The question is why is VERSION now considered to be intrinsic. For that matter Tinlegs says he's using C6.1 so it's not a recent change in CW that is triggering the problem.

Can you create a small test program which generates this compiler error, I took a brief swing at it, and it compiled fine.

- Mark Goldberg

 
Hi Mark,

If I remember correct, I make the change to the RTF.INT and RTFCTL.clw when I was using C6.1. So if you are compiling OK with C6.3, the guess the issue was resolved in later versions. I am using C6.2 which I guess also has this problem.

Regards
 
Hi ShankarJ
I made the changes as you suggested and it solved the problem, Thank you
Hi Mark
Yes it would be nice to know what the cause was. I had spent more than a week on and off searching the help files and the internet for a solution. The app is Legacy, I have C6.1 Build 9034 and the warning message would only appear if all procedures had to be recompiled as it does if a Global var or the DCT is changed.
Cheers Guys,
Thanks very much for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top