Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Red underline on strstr (Read 216 times)
Indrid kold
Junior Member
**
Offline



Posts: 10
Red underline on strstr
Jul 11th, 2019 at 4:18pm
 
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
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Red underline on strstr
Reply #1 - Jul 12th, 2019 at 1:13pm
 
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: 10
Re: Red underline on strstr
Reply #2 - Jul 15th, 2019 at 2:28pm
 
Good morning and thanks for your response, apologies for not following the guidelines. Please find my buildinfo file attached.
IK
Back to top
 

board_001.txt (39 KB | 1 )
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Red underline on strstr
Reply #3 - Jul 15th, 2019 at 2:41pm
 
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:
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: 10
Re: Red underline on strstr
Reply #4 - Jul 15th, 2019 at 5:31pm
 
I'm running VS2017 Community, a screenshot of my about is attached. Thanks, IK
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print