When I build code in Release configuration, STM32CubeIDE doesn't show errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-24 1:55 PM
Hello,
To test configuration Release, I intentionally made syntax errors in my code. When I switch build configuration from Debug to Release, STM32CubeIDE doesn't show errors on console. Then I tried cleaning project and building all, but nothing changed. I can see errors in build of configuration Debug.
In project properties -> C/C++Build, Configuration is set to Release [Active]. I would like to build my code in Release configuration.
What could be the reason ? “I would be very grateful if you could help me with this problem.
Thank you in advance.
- Labels:
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-25 3:16 AM
Hello @TForest​
First let me thank you for posting.
Could you provide screenshots of the Release build configuration.
KR,
Semer.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-25 3:55 AM - edited ‎2023-11-20 4:40 AM
Thank you for answering !
Here some screenshots of my configurations. Please let me know if you need more configuration screenshots. By the way I use C++ in my project. Also I noticed that when I build all in Release mode, I saw Build of configuration Debug on Console and it changed to Build of configuration Release on Console immediately. During Build of configuration Debug process errors appeared ,but as I said Build of configuration Release process started just after that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-27 2:48 AM
@Semer CHERNI​ Is there something wrong with my configurations ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-27 10:25 AM
Please post also the build log (from the terminal window/pane)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-27 12:23 PM
@Pavel A.​ Since it is too long, I had to save log into file. You can see log output for Release build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-27 12:37 PM
In which source file have you made syntax error?
