-
-
Notifications
You must be signed in to change notification settings - Fork 114
Object files in variant folder are not linked #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Argh thank you! I didn't noticed because gcc was issuing a warning and was not failing. Good catch! Thank you! |
cmaglie
added a commit
to arduino/Arduino
that referenced
this issue
Sep 24, 2015
Previously the linker flag: -Wl,--warn-unresolved-symbols prevented the build to fail (the unresolved symbols were just displayed as a warning). See also: arduino/arduino-builder#14
Pushed a fix also to the SAM core, now it should emit an error: arduino/Arduino@7d0355c |
sandeepmistry
pushed a commit
to sandeepmistry/Arduino
that referenced
this issue
Sep 29, 2015
Previously the linker flag: -Wl,--warn-unresolved-symbols prevented the build to fail (the unresolved symbols were just displayed as a warning). See also: arduino/arduino-builder#14
facchinm
pushed a commit
to arduino/ArduinoCore-sam
that referenced
this issue
Jan 19, 2017
Previously the linker flag: -Wl,--warn-unresolved-symbols prevented the build to fail (the unresolved symbols were just displayed as a warning). See also: arduino/arduino-builder#14
adamvoss
pushed a commit
to macchina/arduino-boards-sam
that referenced
this issue
Jul 25, 2017
Previously the linker flag: -Wl,--warn-unresolved-symbols prevented the build to fail (the unresolved symbols were just displayed as a warning). See also: arduino/arduino-builder#14
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The source files in the variant folder are compiled as usual but not linked in the final step.
For example the Arduino Due core has a variant.cpp file that is compiled but its not included in the link. Compiling the empty sketch gives the following error:
because the init() function is defined inside variant.cpp.
The text was updated successfully, but these errors were encountered: