Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Enums declared in class scope are ignored by genreflex

オープン
#21,884 コメント 5 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@dpiparo がすでに取り組んでいます。

2026年4月10日 から。

評価

この issue はまだ評価されていません。

説明

bug experiment in:Dictionaries
Check duplicate issues.
  • Checked for duplicates
Description

Genreflex seems to notice only the enums that were defined directly in a namespace scope. If an enum is defined inside a class scope, genreflex will (silently!) ignore the selection directive. The fact that it works in a specific case would suggest that the machinery is there, it just does not get triggered in all cases that it should

Reproducer

enum.genreflex.tgz

Running genreflex on the attached source will produce a rootmap file that has entries for only 2 enums (out of 12 defined and 6 selected):

[ libclasses.so ]
# List of selected classes
class MyClass
class OtherClass
# List of selected enums and outer classes
enum myNamespace::EnumSEL
enum myNamespace::EnumClassSEL

ROOT version

6.36, master

Installation method

SFT builds used by ATLAS

Operating system

lxplus

Additional context

No response

主要言語
C++
スター
3.3k
フォーク
1.6k
平均マージ
2日 14時間
マージ済み PR(30日)
192

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

root-project/root のほかの issue

root-project/root の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。