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] |
Joe Buck wrote:
> > with gcc 2.95.1 I receive the folowing warning : 'void *' is not a pointer-to-object type
> > but I newer had this warnibg with previous gcc or egcs version !!!!
>
> We'd need to see the code in question. Either you are using some invalid
> C++ that previous compilers accepted by mistake, or there is a new bug,
> but I suspect the former.
the code look like this :
void my_delete(void *adr)
{
//some stuff
...
//free memory
delete adr ;
}
in the C++ Programming Lanhuage Third edition, le the prototype for operator delete is the
same....
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |