-
-
Notifications
You must be signed in to change notification settings - Fork 477
Closed as not planned
Closed as not planned
Copy link
Labels
conclusion: duplicateHas already been submittedHas already been submittedtopic: CLIRelated to Arduino CLIRelated to Arduino CLItype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Describe the problem
Having upgraded to 2.0.1 from 1.8 my Sketch is throwing an error because it seems the VERSION ID number is lower than the 1.8 release. Here´s the code that throws, which was fine in IDE 1.8:
#if(ARDUINO < 10810)
#error "Unsupported Arduino IDE version, use Arduino IDE 1.8.10 or later from https://www.arduino.cc/en/software"
#endif
To reproduce
- Use IDE 2.0.1
- Put this code in a sketch:
#if(ARDUINO < 10810) #error "Unsupported Arduino IDE version, use Arduino IDE 1.8.10 or later from https://www.arduino.cc/en/software" #endif
- Verify
Expected behavior
Should not throw an error unless Arduino have totally changed the VESIONing system
Arduino IDE version
2.0.1
Operating system
Windows
Operating system version
Latest
Additional context
None
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details
Metadata
Metadata
Assignees
Labels
conclusion: duplicateHas already been submittedHas already been submittedtopic: CLIRelated to Arduino CLIRelated to Arduino CLItype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project