This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: rfc: __builtin_syntax_error


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


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