Skip to content

exported templates not supported #11599

@llvmbot

Description

@llvmbot
Bugzilla Link 11227
Resolution WONTFIX
Resolved on Oct 24, 2011 22:30
Version 2.9
OS Linux
Attachments myfirst3 from c++ templates book
Reporter LLVM Bugzilla Contributor
CC @DougGregor

Extended Description

Clang warns of this but I did not see a bug filed against this.

rkotler@ubuntu-rkotler:~/workspace/mips_test_code/cpp-templates/basics$ ~/build_llvm/install/bin/clang++ myfirst3.cpp myfirst3main.cpp
In file included from myfirst3.cpp:12:
./myfirst3.hpp:15:1: warning: exported templates are unsupported
export
^
myfirst3.cpp:16:1: warning: exported templates are unsupported
export
^
myfirst3.cpp:18:1: error: unknown type name 'MyFirst'
MyFirst::MyFirst()
^
myfirst3.cpp:18:8: error: expected unqualified-id
MyFirst::MyFirst()
^

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillac++wontfixIssue is real, but we can't or won't fix it. Not invalid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions