This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: C++ bug in __builtin_apply()
- To: colin at field dot medicine dot adelaide dot edu dot au
- Subject: Re: C++ bug in __builtin_apply()
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sun, 12 Mar 2000 19:29:00 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <20000312134957.506922F02A@sharedtech.eyep.net>
> The following compiles under gcc, but results in the following error
> under g++:
Thanks for your bug report. I've put it into GNATS. Please note that
mainline g++ (2.96 20000302 (experimental)) will accept the code
extern void fn1();
void fn (int b){
__builtin_apply( (void (*)(...))fn1,
__builtin_apply_args(),
32);
}
instead, which would still be a bug, perhaps in the documentation.
Regards,
Martin