arduino-builder destroys template code #278
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
topic: preprocessor
Related to sketch preprocessing
type: imperfection
Perceived defect in any part of project
Compilation of this valid C++11 code fails:
Log from the IDE:
The problem is the second command,
arduino-builder -compile
, which creates a garbled C++ file:Note the missing
template <int x>
in front of the function definition.Tried with latest stable (1.8.5 / Windows 7x64), and with the latest hourly (2018-06-08 17:32 UTC+2):
The text was updated successfully, but these errors were encountered: