VS Arduino | |
Visual Micro >> Visual Studio 2017, 2019, 2022 >> Red underline on strstr
https://www.visualmicro.com/forums/YaBB.pl?num=1562858293 Message started by Indrid kold on Jul 11th, 2019 at 3:18pm |
Title: Red underline on strstr Post by Indrid kold on Jul 11th, 2019 at 3: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
|
Title: Re: Red underline on strstr Post by Visual Micro on Jul 12th, 2019 at 12: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).
|
Title: Re: Red underline on strstr Post by Indrid kold on Jul 15th, 2019 at 1:28pm
Good morning and thanks for your response, apologies for not following the guidelines. Please find my buildinfo file attached.
IK https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=board_001.txt ( 39 KB | 4
Downloads )
|
Title: Re: Red underline on strstr Post by Visual Micro on Jul 15th, 2019 at 1: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); } [/code] |
Title: Re: Red underline on strstr Post by Indrid kold on Jul 15th, 2019 at 4:31pm
I'm running VS2017 Community, a screenshot of my about is attached. Thanks, IK
|
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2024. All Rights Reserved. |