String Assignment compiler error (String Class) [problem back?]

I compiled the same code on web build tool several days ago without a problem. Today I get multiple errors such as:

alerter.cpp:120: undefined reference to `String::operator=(StringSumHelper&&)
on line like:

leds[NumMsg]=command.charAt(0);

whih is resolved with the work around ( as suggest on previous community posting)

leds[NumMsg]=""+command.charAt(0);

Tom

Hi @trneal

I think the current state of the world is that String Assignment is fixed on Photon but not on Core. Could you have compiled for a Core?

Thank you. Turns out I did not have a Photon selected under devices [or any device selected], so the default compile must be for a core. Selecting a Photon under devices resolved the problem.

Tom

1 Like