This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: farg
- To: Maciej Hrebien <m_hrebien at poczta dot onet dot pl>
- Subject: Re: farg
- From: Carlo Wood <carlo at alinoe dot com>
- Date: Sat, 24 Mar 2001 18:44:23 +0100
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <001501c0b45f$c1ecfa80$51054dd5@igra.pl>
On Sat, Mar 24, 2001 at 01:41:33PM +0100, Maciej Hrebien wrote:
> void fun(S* s, S& z)
...
> fun(&o,S(10)); // !!!
> g++-2.95.2 gives me some errors in line marked with "!!!".
> Why?? It shoudn't be problems with this.
I think it is perfectly ok. This is not a bug in the compiler.
--
Carlo Wood <carlo@alinoe.com>