🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Roland McGrath Fri, 10 Apr 1992 14:59
extern inline useless in GCC 2.1
#363
Author: Roland McGrath
Date: Fri, 10 Apr 1992 14:59
18 lines
731 bytes
GCC 2.1 on hp300bsd (geech.gnu.ai.mit.edu).

The following input:

extern int foobar (void);
extern inline int foobar (void) { return 1; }

bar ()
{
  return foobar ();
}

produces:

foo.c:2: warning: `foobar' declarations disagree about `inline'

This completely defeats the purpose of `extern inline'.
Please fix it.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads