linux-mips
[Top] [All Lists]

Re: undefined reference to `__lshrdi3' error with GCC 4.0

To: linux-mips@linux-mips.org
Subject: Re: undefined reference to `__lshrdi3' error with GCC 4.0
From: Daniel Jacobowitz <dan@debian.org>
Date: Tue, 17 Jan 2006 15:11:08 -0500
In-reply-to: <20060117193836.GJ18336@lug-owl.de>
Mail-followup-to: linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060117134838.GJ27047@deprecation.cyrius.com> <200601171617.16147.p_christ@hol.gr> <20060117190859.GA2061@linux-mips.org> <20060117193836.GJ18336@lug-owl.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.8i
On Tue, Jan 17, 2006 at 08:38:36PM +0100, Jan-Benedict Glaw wrote:
> > +#else
> > +#error I feel sick.
> > +#endif
> 
> No, you feel PDP11ish. Though you'd put quotes about the warning
> message.

No, you wouldn't.

drow@nevyn:~% echo '#error A B' | gcc -E - 
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "<stdin>"
<stdin>:1:2: error: #error A B
drow@nevyn:~% echo '#error "A B"' | gcc -E -
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "<stdin>"
<stdin>:1:2: error: #error "A B"
drow@nevyn:~% 

-- 
Daniel Jacobowitz
CodeSourcery

<Prev in Thread] Current Thread [Next in Thread>