Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dict type alias fwd decl: underlying type not fwd declared #8499

Closed
Axel-Naumann opened this issue Jun 21, 2021 · 2 comments · Fixed by #8516 or #8512
Closed

Dict type alias fwd decl: underlying type not fwd declared #8499

Axel-Naumann opened this issue Jun 21, 2021 · 2 comments · Fixed by #8516 or #8512

Comments

@Axel-Naumann
Copy link
Member

Reported by ALICE:

G__O2DetectorsVertexing dictionary forward declarations' payload:16:53: error: no template named 'DCAFitterN'
namespace o2{namespace vertexing{using DCAFitter2 = DCAFitterN<2, o2::track::TrackParCov>;}}
                                                    ^
G__O2DetectorsVertexing dictionary forward declarations' payload:17:53: error: no template named 'DCAFitterN'
namespace o2{namespace vertexing{using DCAFitter3 = DCAFitterN<3, o2::track::TrackParCov>;}}
                                                    ^
@Axel-Naumann
Copy link
Member Author

Test: root-project/roottest#723

Axel-Naumann added a commit to Axel-Naumann/root that referenced this issue Jun 22, 2021
Before, only the using decl itself was forward declared, causing
undeclared identifiers in forward declaration code, as witnessed in
root-project#8499

Given the similarity of using and typedef, merge both into a single
function, making sure both have the same featureset, and through that
fixing this issue as a side-effect.
Axel-Naumann added a commit that referenced this issue Jun 23, 2021
Before, only the using decl itself was forward declared, causing
undeclared identifiers in forward declaration code, as witnessed in
#8499

Given the similarity of using and typedef, merge both into a single
function, making sure both have the same featureset, and through that
fixing this issue as a side-effect.
Axel-Naumann added a commit to Axel-Naumann/root that referenced this issue Jun 23, 2021
Before, only the using decl itself was forward declared, causing
undeclared identifiers in forward declaration code, as witnessed in
root-project#8499

Given the similarity of using and typedef, merge both into a single
function, making sure both have the same featureset, and through that
fixing this issue as a side-effect.

(cherry picked from commit d026b49)
FonsRademakers pushed a commit to root-project/cling that referenced this issue Jun 23, 2021
Before, only the using decl itself was forward declared, causing
undeclared identifiers in forward declaration code, as witnessed in
root-project/root#8499

Given the similarity of using and typedef, merge both into a single
function, making sure both have the same featureset, and through that
fixing this issue as a side-effect.
Axel-Naumann added a commit that referenced this issue Jun 23, 2021
Before, only the using decl itself was forward declared, causing
undeclared identifiers in forward declaration code, as witnessed in
#8499

Given the similarity of using and typedef, merge both into a single
function, making sure both have the same featureset, and through that
fixing this issue as a side-effect.

(cherry picked from commit d026b49)
@Axel-Naumann
Copy link
Member Author

Confirmed fixed by Alice / PeterH.

pzhristov pushed a commit to alisw/root that referenced this issue Aug 27, 2021
Before, only the using decl itself was forward declared, causing
undeclared identifiers in forward declaration code, as witnessed in
root-project#8499

Given the similarity of using and typedef, merge both into a single
function, making sure both have the same featureset, and through that
fixing this issue as a side-effect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment