he original
platform), and the pun (using a struct/class containing a
single data member which is a pointer to char, and not
containing a vtab) is pervasive throughout. It would be
really nice if I didn't have to do thousands of changes
like:
Format("%s", Object)
becoming
For
On Wed, 24 Oct 2007 12:03:38 -0700
"Andrew Pinski" <[EMAIL PROTECTED]> wrote:
> On 10/24/07, John Gateley <[EMAIL PROTECTED]> wrote:
> > The situation is this: I have a lot of code that uses a string class
> > which takes advantage of the pun: the string c
rintf("%s", obj)
and have the right thing happen (using a different compiler, of course).
Is there any way to use this useful pun with g++?
Thanks,
j
--
John Gateley <[EMAIL PROTECTED]>
libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
Thanks,
j
--
John Gateley <[EMAIL PROTECTED]>