rfc: __builtin_syntax_error

Daniel Jacobowitz drow@mvista.com
Tue Jan 15 15:02:00 GMT 2002


On Tue, Jan 15, 2002 at 12:34:34PM -0800, Aldy Hernandez wrote:
> On Mon, Jan 14, 2002 at 06:15:40PM -0800, Geoff Keating wrote:
> 
> > *puts on really tricky thinking hat*
> > 
> > You could try
> > 
> > __altivec_link_error_invalid_argument_on_line_##__LINE__ ()
> > 
> > since this is in a macro.  Then you have the prototyping problem of
> > course.
> 
> we have a winner!  i've implemented this.
> 
> who cares about the prototype.  now they'll get to errors instead of one.
> 
> two is better than one :)

Did you try it?  I bet you'll get the prototyping error/warning even if
the call to it is never emitted.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc mailing list