You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If using SSH remote, specify OS of remote machine: Ubuntu 22.04.5 LTS
Bug Summary and Steps to Reproduce
Bug Summary:
There is a template function named format, but on the function invocation, vscode shows red squiggle and says 'no instance of overloaded function "tinyformat::format" matches the argument list'. However, there is no problem when I compile it using gcc command line
Hi @zkaiwen5810 . I'm not able to use the code you provided to reproduce the issue, as it has some dependencies that weren't included. Would you be able to provide an isolated, stand-alone example that we might use to reproduce the issue, perhaps in the form of a zip file or GitHub repo?
Hi @zkaiwen5810 . I'm not able to use the code you provided to reproduce the issue, as it has some dependencies that weren't included. Would you be able to provide an isolated, stand-alone example that we might use to reproduce the issue, perhaps in the form of a zip file or GitHub repo?
@Colengms Thank you for your reply! The issue occured in this repo. According to its UNIX-Build.README, I successfully configure and build project using cmake. By the way, code navigation works, I can jump from function invocation to function definition.
I use devcontainer to develop, the .devcontainer directory is here, you can have the same environment with me and don't have to pollute your environment.
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
There is a template function named
format
, but on the function invocation, vscode shows red squiggle and says 'no instance of overloaded function "tinyformat::format" matches the argument list'. However, there is no problem when I compile it using gcc command linegcc command line:
template function definition:
function invocation:
Steps to reproduce:
Expected behavior:
no red squiggles
Configuration and Logs
Other Extensions
Additional context
gcc/g++ version: 11.4.0
The text was updated successfully, but these errors were encountered: