c/2891: extern inline - undefined references
Andreas Jaeger
aj@suse.de
Mon May 21 12:26:00 GMT 2001
The following reply was made to PR c/2891; it has been noted by GNATS.
From: Andreas Jaeger <aj@suse.de>
To: rohloff@in.tum.de
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c/2891: extern inline - undefined references
Date: 21 May 2001 21:17:53 +0200
rohloff@in.tum.de writes:
[...]
> Define a function "extern inline" compiling without
> "-O1", "-O2" or with "-fno-inline" will result in
> undefined references.
Yes, that's to be expected. Please read the manual, it explains why.
This is not a bug, it's a desired feature.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Gcc-prs
mailing list