Enum defined after a function template cannot be compiled #2525
Labels
topic: build-process
Related to the sketch build process
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
To reproduce
Expected behavior
I have verified this code in MSVC, and there should be no problem.
Arduino IDE version
版本:2.2.1 日期:2023-08-31T14:35:44.802Z CLI 版本:0.34.0 Copyright © 2024 Arduino SA
Operating system
Windows
Operating system version
版本 Windows 11 专业版 Insider Preview 版本号 23H2 安装日期 2024/1/28 操作系统版本 26040.1000 体验 Windows Feature Experience Pack 1000.26040.1000.0
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: