- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a way to get a listing of all the errors and warnings shown in the code editor?
The project still compiles, and these do not show up in the Notice List, but I think they mess up the code editor's features so that it can't find things, etc. and sometimes those warnings are important, or clues to a more serious bug.
Examples:
- Labels:
-
PSoC Creator Software
- Tags:
- psoc creator 4.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following KBA might be useful: GCC Warnings Diagnostic in PSoC Creator - KBA225431
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok but I'm using Keil DP8051, and the compiler is already at warning level 2. But there are many warnings and errors in the code editor itself that are not shown in the Notice List, and I don't see any way to go through them except to manually open every Generated Source file and manually scroll through them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I hope you already have a valid Keil license. I think the editor is able to pick up the warnings/errors but during compilation, compiler might be optimizing the functions that aren't used and hence do not end up in the notice list. Please change the optimization levels to check if it helps: Cx51 User's Guide: OPTIMIZE Compiler Directive
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, but then it won't compile because there's not enough space without optimization.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try adding #include "project.h" to see if the errors are resolved. Can you attach your project to get more insight on the issue?
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes that's how I fixed the errors. The problem is I have to manually open every file in the project and scroll through them manually looking for those errors by eye. I suspect these sorts of things are why it can't find functions sometimes, etc. but fixing all of them would be a lot of effort if I can't just list them all in one place.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the errors in the code editor are not being listed in the Notice List, there is something obviously wrong. Not sure how I can recreate this, but might have something to do with the build settings, some dependency not being included etc.. which is difficult to tell without the project.
Would you be able to attach your project to get more insight into what's causing this? Also, do let me know the version of PSoC Creator and Operating System you are running on.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok I can email it to you.
Environment:
PSoC Creator 4.2 (4.2.0.641)
Culture: English (United States)
OS Version: Microsoft Windows NT 6.1.7601 Service Pack 1
CLR Version: 4.0.30319.42000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay, please mail it to me.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok I sent it to you on 8/27.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm sorry I haven't received any mail. Please check again, my email id is ddka@cypress.com
Regards,
Dheeraj