MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #31821 All Revisions ] Back to Issue ]
Summary 0031821: Coding - Uninitialized variables in TKFillet project
Revision 2020-10-05 10:27 by tizmaylo
Steps To Reproduce
  1. Create Open Cascade solution for Visual Studio 2019.

  2. Go to the properties of TKFillet project, Configuration PropertiesCode AnalysisMicrosoft, in the combobox Active Rules choose item C++ Core Check Type Rules and press OK button.

  3. Build the project TKFillet.

  4. Show the list of messages related to uninitialized variables in the project TKFillet:
Revision 2020-10-05 09:42 by tizmaylo
Steps To Reproduce
  1. Create Open Cascade solution for Visual Studio 2019.

  2. Go to the properties of TKFillet project, Configuration PropertiesCode AnalysisMicrosoft, in the combobox Active Rules choose item C++ Core Check Type Rules and press OK button.

  3. Build the project TKFillet.

  4. Show the list of messages related to uninitialized variables in the project TKFillet:
    • Select the project TKFillet in Solution Explorer.

    • Open Error List window.

    • In the first combobox choose the item Current Project.

    • In the second combobox choose the item Build + IntelliSense.

    • Hover the mouse cursor over the column Code of the table, press "filter" button, deselect all selected codes, then select C26494 (VAR_USE_BEFORE_INIT) https://docs.microsoft.com/en-us/cpp/code-quality/c26494?view=vs-2019 [^] and C26495 (MEMBER_UNINIT) https://docs.microsoft.com/en-us/cpp/code-quality/c26495?view=vs-2019</a>. [^]

    • If you want to save the list of messages shown in the table, select them (select any item in the table and press Ctrl+A) and press Ctrl+C. The attached file TKFillet_UninitializedWarnings.txt contains the list of messages obtained this way.
Revision 2020-10-05 09:41 by tizmaylo
Steps To Reproduce
  1. Create Open Cascade solution for Visual Studio 2019.

  2. Go to the properties of TKFillet project, Configuration PropertiesCode AnalysisMicrosoft, in the combobox Active Rules choose item C++ Core Check Type Rules and press OK button.

  3. Build the project TKFillet.

  4. Show the list of messages related to uninitialized variables in the project TKFillet:
    • Select the project TKFillet in Solution Explorer.

    • Open Error List window.

    • In the first combobox choose the item Current Project.

    • In the second combobox choose the item Build + IntelliSense.

    • Hover the mouse cursor over the column Code of the table, press "filter" button, deselect all selected codes, then select https://docs.microsoft.com/en-us/cpp/code-quality/c26494?view=vs-2019 [^] and https://docs.microsoft.com/en-us/cpp/code-quality/c26495?view=vs-2019. [^]

    • If you want to save the list of messages shown in the table, select them (select any item in the table and press Ctrl+A) and press Ctrl+C. The attached file TKFillet_UninitializedWarnings.txt contains the list of messages obtained this way.
Revision 2020-10-05 09:39 by tizmaylo
Steps To Reproduce
  1. Create Open Cascade solution for Visual Studio 2019.

  2. Go to the properties of TKFillet project, Configuration PropertiesCode AnalysisMicrosoft, in the combobox Active Rules choose item C++ Core Check Type Rules and press OK button.

  3. Build the project TKFillet.

  4. Show the list of messages related to uninitialized variables in the project TKFillet:
    • Select the project TKFillet in Solution Explorer.

    • Open Error List window.

    • In the first combobox choose the item Current Project.

    • In the second combobox choose the item Build + IntelliSense.

    • Hover the mouse cursor over the column Code of the table, press "filter" button, deselect all selected codes, then select <a ref="https://docs.microsoft.com/en-us/cpp/code-quality/c26494?view=vs-2019">C26494 [^] (VAR_USE_BEFORE_INIT)</a> and <a ref="https://docs.microsoft.com/en-us/cpp/code-quality/c26495?view=vs-2019">C26495 [^] (MEMBER_UNINIT)</a>.

    • If you want to save the list of messages shown in the table, select them (select any item in the table and press Ctrl+A) and press Ctrl+C. The attached file TKFillet_UninitializedWarnings.txt contains the list of messages obtained this way.


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker