Closed PaulStoffregen closed 11 months ago
Hi, Paul! Thanks for the report. Whenever there’s a new release, I check all the examples and run all the unit tests. I actually fixed all the issues earlier today. :) (I just haven’t pushed yet.)
Some background on why these errors are there: The changes introduced in Teensyduino 1.59 are the right ones. I had introduced some of my own IPAddress
(external to the class) operators and functions, and those are the ones that conflict. They aren’t needed anymore and I’ve already added a check for the Teensyduino version with a few #ifdefs.
Thanks again for noticing.
I also have a script that test compiles all examples from many libraries. It used to run with IDE 1.8.19 and only about 60 libraries. I recently updated it to use Arduino CLI and more libraries, including QNEthernet. :)
I also have a script that test compiles all examples from many libraries. It used to run with IDE 1.8.19 and only about 60 libraries. I recently updated it to use Arduino CLI and more libraries, including QNEthernet. :)
Much appreciated! :)
I just pushed the latest changes; I haven't made a release yet. Do you feel like trying the latest against your script?
Running the script now. It's found a warning with the RandomNumbers example, but so far no actual errors. So far it's compiled other examples 43 times with various settings without any errors or warnings, so looking pretty good.
Looks like I spoke too soon. The script found compile errors with RawFrameMonitor and OSCPrinter.
The OSCPrinter just looks like a missing library.
RawFrameMonitor requires QNETHERNET_ENABLE_RAW_FRAME_SUPPORT
to be defined, and OSCPrinter requires the LiteOSCParser library.
Would you mind pasting the RandomNumbers compile warning?
I fixed the RandomNumbers compile warning; it was an incorrect printf
conversion specifier. Pushed. Thanks for noticing that.
Looks like some changes that went into the core library might be causing problems?
If I need to change something in the core library, hopefully we can discuss and get this fixed before 1.59 release.
For example, when compiling PixelPusherServer in Arduino IDE 2.2.1 with Teensyduino 0.59.4 (as installed by Boards Manager)...