Please correct the order in which the compiler flags are compiled? #11087
Replies: 5 comments 2 replies
-
My current workaround in the platform.local.txt is as follows.
However, this is not the normal way and should not be done. |
Beta Was this translation helpful? Give feedback.
-
Since you have a use case, why not open a PR with the changes you need? We are open source and accept pull requests from the community |
Beta Was this translation helpful? Give feedback.
-
I haven't dealt with the problem for a long time. I want to do a complete PR and test it myself beforehand. I have a question about this. In which file(s) do I have to make changes to change the order of execution? (Ich habe mich lange Zeit nicht mit dem Problem beschäftigt. Ich möchte einen kompletten PR machen und vorher selbst testen. Ich hätte dazu eine Frage. In welcher Datei/welchen Dateien muss ich Änderungen machen um die Reihenfolge der Verarbeitung zu ändern?) |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm so stupid. platform.txt. That's what gave me the idea in the first place. That's embarrassing. Even though the ESP toolchain has now been updated to C++20 as the default setting, the problem with the flag sequence remains. Just as you write and just as we found out at the beginning. I'll test that. Thank you very much. |
Beta Was this translation helpful? Give feedback.
-
Hi, Unfortunately, a few changes in the sequence are not enough. The problem is that all flags are in the file
I still have no idea how to change this with simple methods. I fear that major changes are necessary here, the scope of which I do not yet have an overview of. A small side note. In the cpp_flags file there are two options for the standard. -std=gnu++2b and -std=gnu++2a. :-) |
Beta Was this translation helpful? Give feedback.
-
Board
Arduino Nano ESP32
Device Description
N/A
Hardware Configuration
N/A
Version
latest master (checkout manually)
IDE Name
Arduino IDE 2.3.4
Operating System
Windows 11
Flash frequency
N/A
PSRAM enabled
yes
Upload speed
115200
Description
Hello,
can you please correct the order in which the compiler flags are compiled?
It has always been common that you can change the compilation for yourself using platform.local.txt.
For this you normally use compiler.cpp.extra_flags Unfortunately, this is not possible with the ESP32 Core Package
because you have reversed the order. Why is that?
Would you please change the order for the compiler flags? Please.
Sketch
Debug Message
Other Steps to Reproduce
N/A
I have checked existing issues, online documentation and the Troubleshooting Guide
Beta Was this translation helpful? Give feedback.
All reactions