This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 3.2.2 c++ compile problems


Jack Howarth <howarth@bromo.med.uc.edu> writes:

[...]

| which has...
| 
| void *operator new(size_t size);
| void operator delete(void *p);
| 
| void *operator new[](size_t size);                            
| void operator delete[](void *p);  
| 
| at line 22. I assume this is an abi change too? What is the best approach 
| for that one? I'm am going to pass all of this back upstream to the
| author. Thanks again for any help.

Hand forward declaring standard entities is Bad Practice.

Please, consider #includeing standard headers instead.  For memory
management, consider <new>.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]