[omniORB] operator LongDouble error compiling with SGI STL

Sergio Murru s.murru at fidia.it
Thu Jul 10 17:51:35 BST 2003


I've found the cause and the fix for this error.
It's not omniORB's fault. The following is enough to trigger this error:

------------------------------------------
struct A
{
        operator long double();
};
#include <algo.h>

int main()
{
    return 0;
}
------------------------------------------


The "__opr" parameter of the transform template is used internally by
egcs. 

One possible workaround is to add to the Makefile something like:
DFLAGS += -D__opr=__operNameThatDoesNotConflictWithEgcs

Sergio.



More information about the omniORB-list mailing list