VS Arduino
Visual Micro >> General Board >> Intellisense error with strlcpy
https://www.visualmicro.com/forums/YaBB.pl?num=1562856148

Message started by Marius on Jul 11th, 2019 at 2:42pm

Title: Intellisense error with strlcpy
Post by Marius on Jul 11th, 2019 at 2:42pm
Hi
I am using strlcpy in a skecth and although the code compiles correctly Intellisense shows and error for strlcpy.

It reports "Too many arguments in the function call"


Code (c++):
strlcpy(config.apn, doc["apn"], sizeof(config.apn));



Title: Re: Intellisense error with strlcpy
Post by Visual Micro on Jul 12th, 2019 at 12:14pm
We have to tweek intellisense for VS but can't do that without knowing information.

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: Intellisense error with strlcpy
Post by Marius on Jul 26th, 2019 at 5:32am
Tim
Please see attached.
https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=board_buildinfo_001.txt ( 69 KB | 1 Download )
https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=build_output_003.txt ( 36 KB | 2 Downloads )

Title: Re: Intellisense error with strlcpy
Post by Visual Micro on Jul 28th, 2019 at 2:44pm
Resolved in the latest release 1907.26.9 (see releases section of this forum but it should also be published to the gallery before you read this.

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.