Why do I get warning in new Creator 4.1?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
DaHu_285096
Level 5
Level 5
10 likes received 250 replies posted 100 replies posted

I just installed version 4.1 of Creator. Now I see a squiggly blue line under my #include statement for one of the includes and a yellow warning triangle in left margin. There is nothing in the "Warnings" window. I have been using this project for ages in creator 4.0 without this being highlighted.

   

Project compiles ok but annoying having a warning showing without understanding what it means

0 Likes
1 Solution
DaHu_285096
Level 5
Level 5
10 likes received 250 replies posted 100 replies posted

Yes, I closed and reopened the project. There are no warnings and all compiles fine but this yellow triangle is annoying. My app is using 5LP

View solution in original post

0 Likes
10 Replies
cadi_1014291
Level 6
Level 6
25 likes received 10 likes received 10 likes given

Put the cursor over the yellow warning sign, most of the times i read the errors and warnings doing that instead of reading the output window.

   

I'm downloading the new Creator right now, the header file you are having problems with is a standard header or "custom"?

0 Likes
DaHu_285096
Level 5
Level 5
10 likes received 250 replies posted 100 replies posted

It is just an include in the project folder. "nrf24l01.h". If I hover over the Yellow triangle it shows "nrf24l01.h" and that's it.

   

#include <project.h>
#include "nrf24l01.h"
#include "common.h"

0 Likes
cadi_1014291
Level 6
Level 6
25 likes received 10 likes received 10 likes given

Yes, it's weird, had you tried closing and opening Creator again?

   

Does this creator have support for PSoC6? I was only waiting for that and in the blog post they don't say a thing about PSoC6 support 😕

0 Likes
DaHu_285096
Level 5
Level 5
10 likes received 250 replies posted 100 replies posted

Yes, I closed and reopened the project. There are no warnings and all compiles fine but this yellow triangle is annoying. My app is using 5LP

0 Likes
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Move #include "nrf24l01.h" command to project.h and it will go away.

0 Likes
lock attach
Attachments are accessible only for community members.
DaHu_285096
Level 5
Level 5
10 likes received 250 replies posted 100 replies posted

What do you mean by "move #include nrf24l01.h" command to project.h?

   

Why would the header file includes for my individual projects need to be moved to the system <project.h> file? Is this standard C construct?

0 Likes
cadi_1014291
Level 6
Level 6
25 likes received 10 likes received 10 likes given

I tested the new Creator for a while but can't reproduce your problem :/, i don't like including nrf24l01.h in the project header neither.

DaHu_285096
Level 5
Level 5
10 likes received 250 replies posted 100 replies posted

The project is a project I have been using in Version 4 of Creator with no issue. This only surfaced on last update.

   

It should not be a keyword or anything so not sure why it is highlighted. All seems to still build ok without error

cadi_1014291
Level 6
Level 6
25 likes received 10 likes received 10 likes given

OFFTOPIC: Can you debug on Creator 4.1? I'm always getting a "Timeout" error message, with Creator 4.0 i debugged "just fine".

0 Likes
DaHu_285096
Level 5
Level 5
10 likes received 250 replies posted 100 replies posted

I haven't tried debugging yet

0 Likes