This is the mail archive of the gcc-bugs@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]

Re: g++ gives gratuitous "will use a temporary" warnings in CVS 19990611


On Sat, Jul 10, 1999 at 05:51:50AM -0300, Alexandre Oliva wrote:
> On Jul 10, 1999, Daniel Jacobowitz <drow@false.org> wrote:
> 
> > The attached test program shows a warning regression in g++:
> 
> Err...  Which attached test program?

Eek, forward doesn't include attachments.  This attached test program.


Dan

/--------------------------------\  /--------------------------------\
|       Daniel Jacobowitz        |__|        SCS Class of 2002       |
|   Debian GNU/Linux Developer    __    Carnegie Mellon University   |
|         dan@debian.org         |  |       dmj+@andrew.cmu.edu      |
\--------------------------------/  \--------------------------------/
void f(const char *&c);

void g() {
  char *d;
  f(d);
}

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