ibm-messaging / mq-golang

Calling IBM MQ from Go applications
Apache License 2.0
168 stars 60 forks source link

'keyRepoPasswordPtr' undeclared #189

Closed ouwe-knutselaar closed 2 years ago

ouwe-knutselaar commented 2 years ago

L.S.

I get the following error: C:\Users\userid\go\pkg\mod\github.com\ibm-messaging\mq-golang\v5@v5.3.0\ibmmq\mqiMQSCO.go: In function 'setScoKeyRepoPassword': C:\Users\userid\go\pkg\mod\github.com\ibm-messaging\mq-golang\v5@v5.3.0\ibmmq\mqiMQSCO.go:41:7: error: 'keyRepoPasswordPtr' undeclared (first use in this function); did you mean 'keyRepoPassword'? if (keyRepoPasswordPtr != NULL) { ^~~~~~~~~~~~~~~~~~ keyRepoPassword C:\Users\userid\go\pkg\mod\github.com\ibm-messaging\mq-golang\v5@v5.3.0\ibmmq\mqiMQSCO.go:41:7: note: each undeclared identifier is reported only once for each function it appears in

And this is the code is use:

cno := ibmmq.NewMQCNO() cno.Options = ibmmq.MQCNO_CLIENT_BINDING qMgrObject, err := ibmmq.Conn(qMgrName,cno)

What is missing?

Erwin

ibmmqmet commented 2 years ago

Sorry about that. Caused by same late-breaking name changes. Should be fixed in 5.3.1 that I just pushed

ouwe-knutselaar commented 2 years ago

Thanx, that helped