public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/9259: [2003-04-07] Calling a non-qualified member function within a sizeof() expression leads to "invalid use of undefined type"
@ 2003-05-04 17:16 Giovanni Bajo
  0 siblings, 0 replies; only message in thread
From: Giovanni Bajo @ 2003-05-04 17:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/9259; it has been noted by GNATS.

From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <gcc-gnats@gcc.gnu.org>,
	<gcc-bugs@gcc.gnu.org>,
	<nobody@gcc.gnu.org>,
	<bangerth@ticam.utexas.edu>,
	<gcc-prs@gcc.gnu.org>
Cc:  
Subject: Re: c++/9259: [2003-04-07] Calling a non-qualified member function within a sizeof() expression leads to "invalid use of undefined type"
Date: Sun, 4 May 2003 19:10:57 +0200

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9259
 
 It was not noted in this PR, but to fix the bug it's sufficient to qualify
 the function call (sizeof(S::check()) instead of sizeof(check())), which
 means that the bug happens only in non-qualified member function calls
 within sizeof expressions.
 
 Giovanni Bajo
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-04 17:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-04 17:16 c++/9259: [2003-04-07] Calling a non-qualified member function within a sizeof() expression leads to "invalid use of undefined type" Giovanni Bajo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).