- ma jack
- PowerBuilder
- Thursday, 13 April 2023 03:03 PM UTC
Hello everyone
I got this warning when I migrated the project to 2019R3
C0146:The identifier 'message' conflicts with an existing global variable with this name.
The new definition of 'message' will take precedence and the prior value will be ignored until this version of 'message' goes out of scope.
I found this sentence in https://docs.appeon.com/pb2022/application_techniques/The_Message_object.html :The Message object is a predefined PowerBuilder global object
I thought this warning was caused by repeated definition of message in the code, but only message is defined in application
forward
global type tpbl from application
end type
global transaction sqlca
global dynamic description area sqlda
global dynamic stagingarea sqlsa
global error error
global message message
end forward
Clicking the error line number of the warning prompt cannot jump to the location where the error occurred
What else could cause this warning to occur? Can this warning be ignored?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.