Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Red underline on strstr (Read 1301 times)
Indrid kold
Junior Member
**
Offline


Posts: 18
Joined: May 15th, 2017
Red underline on strstr
Jul 11th, 2019 at 3:18pm
Print Post  
Hello, I'm using the function strstr. The code compiles but there's a red underline under strstr. Do I need to add something to the intellisense header? Thanks for any assistance, IK
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Red underline on strstr
Reply #1 - Jul 12th, 2019 at 12:13pm
Print Post  
Please follow the guide in yellow at the top of this page so that we can know what you are working with (your config and hardware etc).
  
Back to top
WWW  
IP Logged
 
Indrid kold
Junior Member
**
Offline


Posts: 18
Joined: May 15th, 2017
Re: Red underline on strstr
Reply #2 - Jul 15th, 2019 at 1:28pm
Print Post  
Good morning and thanks for your response, apologies for not following the guidelines. Please find my buildinfo file attached.
IK
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Red underline on strstr
Reply #3 - Jul 15th, 2019 at 1:41pm
Print Post  
Thanks

Using the generic stm32f103c series that you have selected I do not see any intellisense issue in vs2017 or 2019 with the following code. 

Which version of VS appears on your Help>About ?

Code
Select All
void setup()
{


}

void loop()
{
	char* test1;
	char* test2;
	char* res;
	res = strstr(test1, "L");
	res = strstr(test1, test2);

}
 

  
Back to top
WWW  
IP Logged
 
Indrid kold
Junior Member
**
Offline


Posts: 18
Joined: May 15th, 2017
Re: Red underline on strstr
Reply #4 - Jul 15th, 2019 at 4:31pm
Print Post  
I'm running VS2017 Community, a screenshot of my about is attached. Thanks, IK
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint