Lisp Knowledgebase

Title: Continuable error when loading an IDL file

ID: 17043


Product: LispWorks
Version: 5
OS: All

Description: While loading an IDL file generated with the LispWorks ORB (the CORBA API) a continuable error like this is signalled:

Condition: Defining function OMG.ORG/OPERATION:START visible from package OMG.ORG/OPERATION.
Call to CERROR (offset 325)
 CONDITIONS::CONTINUE-STRING : "~:[D~;Red~]efine it anyway."
 CONDITIONS::DATUM           : "~:[D~;Red~]efining ~:[~s~*~;~a ~s~] visible from package~P ~a~{, ~a~}."
 CONDITIONS::ARGUMENTS       : (NIL T "function" OMG.ORG/OPERATION:START 1 "OMG.ORG/OPERATION" NIL)



The LispWorks system packages are protected from (re)definitions on the packages listed in the variable hcl:*packages-for-warn-on-redefinition*.

"OMG.ORG/OPERATION" and "OMG.ORG/ROOT" have inadvertantly been included on this list in LispWorks 5.0.

To allow loading definitions from IDL files you can do:

(setq hcl:*packages-for-warn-on-redefinition*
     (remove-if (lambda (package-name)
                  (member package-name
                          '("
OMG.ORG/OPERATION"
                           
"OMG.ORG/ROOT")
                          :test #'string-equal))
                *packages-for-warn-on-redefinition*))

See Also:
Workaround:
Patch:

Hardware:N/A
Summary:
Bug#:
Patch Enhancement#:
Reported:

Company     Contact     Privacy Policy     Terms of Use