Re: cannot pass objects of non-POD type

2007-10-24 Thread John Gateley
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

Re: cannot pass objects of non-POD type

2007-10-24 Thread John Gateley
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

cannot pass objects of non-POD type

2007-10-24 Thread John Gateley
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]>

Templates + Inheritance problem

2007-07-19 Thread John Gateley
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]>