Skip to content

clang rejects redefinition of extern inline function #4016

@llvmbot

Description

@llvmbot
Bugzilla Link 3644
Resolution DUPLICATE
Resolved on Mar 12, 2010 00:57
Version unspecified
OS Linux
Reporter LLVM Bugzilla Contributor
CC @efriedma-quic

Extended Description

clang rejects the following code gcc accepts:

extern inline void f0(void) { }
void f0(void) { }

This notably occurs in gcc-4.2. gcc itself rejects this in c99 mode. We may well not want to support this, but filing for tracking purposes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"duplicateResolved as duplicate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions