arduino / arduino/Arduino

Compiler won't notice if files are deleted

Open
#5,492 15 comments 0 reactions 0 assignees View on GitHub
Component: Compilation editor-refactor Type: Bug
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

For version 1.6.11 the compiler throws a "multiple definition of `DummyClass::getString()'" error if one deletes the DummyClass files (DummyClass.h/.cpp) and copies it to e.g. the main .ino file.

Using the option "use external editor"

Contributor guide

Open the contributing guide

Research direction

Reproduce this with Arduino IDE 1.6.11 and the “use external editor” option, starting with the DummyClass.h/.cpp deletion and copy into the main .ino file. Trace the compiler’s handling of those files and verify that the multiple-definition error no longer occurs after the files are deleted.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.