Please report new issues athttps://github.com/DOCGroup
The CORBA 2.3 spec clarifies the scope of a #pragma prefix: the prefix is supposed to get cleared after each #include, also the statement #pragma prefix "" should clear the prefix.
Forgot to add a summary
Just to comment on how the problem could be fixed: keep track of the last file, using the #line directives, when a new file shows up all the pragmas are reset to their old values, this may require an stack with the set of pragmas defined on each file, but shouldn't be that hard to implement.
One more for me.
Forgot to reassign it to myself.
This already happens with a simple example I've tried, however, must implement and test with more use cases.
*** Bug 557 has been marked as a duplicate of this bug. ***
*** Bug 585 has been marked as a duplicate of this bug. ***
*** Bug 947 has been marked as a duplicate of this bug. ***
As a workaround for this bug, for the IDL files that come with TAO, could we add #pragma prefix "" at the end of IDL files which have #pragma prefix "org.omg" at the top? Some files have this already, but a lot of TAO's IDL files do not.
Jeff has already fixed this problem. See the following TAO ChangeLog entry: Mon Dec 31 11:01:29 2001 Jeff Parsons <parsons@cs.wustl.edu>