-
What does the error messages: refer two? I have a multi class file project for the Arduino. I have developed a RealTime OS that I am using. This necessitates that two of the CPP files have a different optimization level. For these two files, I have added -O0 to the end of the command line in the file properties (C/C++Build->Settings->Tool Settings->CommandLinePattern). Do I just ignore these messages or can someone please explain what they're refering to? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Some hard to answer questions. IManagedOutputNameProviderJaba is derived from IManagedOutputNameProvider (this is managed build code aka not from Sloeber) and adds a getOutputNames with more parameters. https://github.com/Sloeber/arduino-eclipse-plugin/blob/1c5136eaaf1a448bd1fbea2c69f42f99baa79afe/io.sloeber.core/src/io/sloeber/core/toolchain/IManagedOutputNameProviderJaba.java Basically Sloeber needed more information to make the correct decision on the nameProviders so sloeber extended the managedBuild API . However managed Build does not know nor care about this. The standard CDT managed build make file generator uses therefore uses the simple getOutputNames but the Sloeber makefile generator uses the complex getOutputNames. As LinkNameProvider should only be used in sloeber projects using the sloeber makefile generator it looks like in your setup there is a managed build (read not Sloeber) call to the Sloeber LinkNameProvider which should not happen. Which bring me to
I never ever used/tested this (congrats for thinking about this) and it may be the root cause of the error messages popping up. To me it seems likely that this activates some managedBuild code that normally is not activated and that causes the errors.
I hope the above explanation explains what the error messages are referring to. |
Beta Was this translation helpful? Give feedback.
Some hard to answer questions.
If you look at the LinkNameProvider code you will see it is derived from IManagedOutputNameProviderJaba (jaba is me so this is Sloeber code)
arduino-eclipse-plugin/io.sloeber.core/src/io/sloeber/core/toolchain/LinkNameProvider.java
Line 19 in 1c5136e
IManagedOutputNameProviderJaba is derived from IManagedOutputNameProvider (this is managed build code aka not from Sloeber) and adds a getOutputNames with more parameters.
https://github.com/Sloeber/arduino-eclipse-plugin/blob/1c5136eaaf1a448bd1fbea2c69f42…