This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/38754] New: C99 and inline has a linker problem
- From: "klein at cage dot ugent dot be" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2009 14:27:24 -0000
- Subject: [Bug c/38754] New: C99 and inline has a linker problem
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
More a liker than compiler problem
When I compile the following programm with gcc -std=c99 I get a linker error.
When I compile it with gcc -O[23] -std=c99 it runs as expected.
For the case that the system matters: I am using Linux (Ubuntu 8.10)
inline void f() {
}
int main() {
f();
}
--
Summary: C99 and inline has a linker problem
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: klein at cage dot ugent dot be
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38754