T
toduro
Sorry about the bad subject line earlier.
What is the right syntax for a C++ declaration which would give me
__ls__7ostreamPFR7ostream_R7ostream
in an object file produced by the gcc 2.95 compiler?
The name "magically" [that means I have no clue about why or how]
appeared as an undefined reference in an object file whosse
corresponding C++ source has no references at all to ostream after I
made some coding changes to improve performance and then recompiled.
I did a bit of googling and experimentation to find that:
ostream:perator <<(ostream &())
yields
__ls__7ostreamPFv_R7ostream
but I haven't seenhow to get rid of the "v_" in the middle or to get
the "_R7ostream" on the end of the mangled name. What declaaration
will work?
The rules I found from googling say that class names are prepended by
the length of the name, so "7ostream" comes from "ostream", and that
"P" stands for a pointer, "F" stands for a function, and "R" stands for
a reference.
What is the right syntax for a C++ declaration which would give me
__ls__7ostreamPFR7ostream_R7ostream
in an object file produced by the gcc 2.95 compiler?
The name "magically" [that means I have no clue about why or how]
appeared as an undefined reference in an object file whosse
corresponding C++ source has no references at all to ostream after I
made some coding changes to improve performance and then recompiled.
I did a bit of googling and experimentation to find that:
ostream:perator <<(ostream &())
yields
__ls__7ostreamPFv_R7ostream
but I haven't seenhow to get rid of the "v_" in the middle or to get
the "_R7ostream" on the end of the mangled name. What declaaration
will work?
The rules I found from googling say that class names are prepended by
the length of the name, so "7ostream" comes from "ostream", and that
"P" stands for a pointer, "F" stands for a function, and "R" stands for
a reference.