Skip to content

IntelliSense reports incorrect errors when using eigen3 library #7413

Open
@AlBrP

Description

@AlBrP

Bug type: Language Service

  • OS and Version: Linux arm64 5.10.27-rt36-v8
  • VS Code Version: 1.55.2
  • C/C++ Extension Version: 1.3.1

I am programming with eigen3 library on vscode on Raspberry Pi 4B (64 bit Raspberry Pi OS) and here are the bugs:
the IntelliSense reports errors after I create、fill、print a simple 2*2 matrix, but I can build and run the code , print the matrix correctly.
I test these lines of codes in a x86 Ubuntu environment vscode, but no errors report.
I also use different intelliSenseMode、Cppstandrad、compilerPath to test but it still reports errors.

Steps to reproduce

  1. Include the eigen library.
  2. Create a simple 2*2 matrix, fill it with integers and print it.
  3. See error.

Expected behavior
IntelliSense should not mark these as errors.

Screenshots
the errors report:
image
image
the running result:
image

Additional context
Also, although the eigen library autocomplete works, it lacks many options compared to vscode in x86 Ubuntu environment, are these bugs related?
Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServiceVisual StudioInherited from Visual StudiobugfixedCheck the Milestone for the release in which the fix is or will be available.verifiedBug has been reproduced

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions