degatecommunity / degate Goto Github PK
View Code? Open in Web Editor NEWA modern and open-source cross-platform software for chips reverse engineering.
Home Page: https://www.degate.org
License: GNU General Public License v3.0
A modern and open-source cross-platform software for chips reverse engineering.
Home Page: https://www.degate.org
License: GNU General Public License v3.0
Describe the bug
The latest develop release throws a SIGSEGV when starting Degate.
To Reproduce
Steps to reproduce the behavior:
Build ABI: 'x86_64-little_endian-lp64'
Kernel type: 'linux'
kernel version: '5.4.0-159-generic'
Current CPU architecture: 'x86_64'
Build CPU architecture: 'x86_64'
Product type: 'ubuntu'
Pretty product name: 'Ubuntu 20.04.6 LTS'
Product version: '20.04'
Degate version: '2.1.0-alpha.1'
Degate version type: 'nightly'
Degate release date: 'unreleased'
An unexpected error occurred. Error message:
'A SIGSEGV occurred (11).'
Possible fix
In MainWindow.cc
the call QGuiApplication::screenAt(this->pos())
returns a nullptr on my machine. Not sure why, but it does. If I comment out that line (or add nullptr checks) the application starts just fine.
Possible fix -> Fusion86@0017bcb
Just reporting this here for completeness sake. I fixed my own issue, so feel free to close this if this doesn't belong here.
Describe the bug
/res/resource.rc
doesn't compiled due to wrong RC_FLAGS
cmake variable
To Reproduce
the same as in issue #6
Expected behavior
res/resource.rc should be compiled without error
Screenshots
[ 86%] Building RC object CMakeFiles/Degate.dir/res/resource.rc.obj
C:/Qt/Qt5.12.0/Tools/mingw810_64/bin/windres.exe -O coff -DBOOST_NO_CXX11_SCOPED_ENUMS -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -IG:/personal_projects/Degate/rel_win_build/Degate_autogen/include -IG:/_LIBS/boost_1_70_0 -IG:/personal_projects/Degate/src -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/include -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/include/QtWidgets -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/include/QtGui -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/include/QtANGLE -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/include/QtCore -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/./mkspecs/win32-g++ -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/include/QtXml -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/include/QtOpenGL -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/include/QtConcurrent -Wall -g -fno-inline -std=c++11 G:/personal_projects/Degate/res/resource.rc CMakeFiles/Degate.dir/res/resource.rc.obj
C:/Qt/Qt5.12.0/Tools/mingw810_64/bin/windres.exe: unknown option -- W
Usage: C:/Qt/Qt5.12.0/Tools/mingw810_64/bin/windres.exe [option(s)] [input-file] [output-file]
The options are:
-i --input=<file> Name input file
-o --output=<file> Name output file
-J --input-format=<format> Specify input format
-O --output-format=<format> Specify output format
-F --target=<target> Specify COFF target
--preprocessor=<program> Program to use to preprocess rc file
--preprocessor-arg=<arg> Additional preprocessor argument
-I --include-dir=<dir> Include directory when preprocessing rc file
-D --define <sym>[=<val>] Define SYM when preprocessing rc file
-U --undefine <sym> Undefine SYM when preprocessing rc file
-v --verbose Verbose - tells you what it's doing
-c --codepage=<codepage> Specify default codepage
-l --language=<val> Set language when reading rc file
--use-temp-file Use a temporary file instead of popen to read
the preprocessor output
--no-use-temp-file Use popen (default)
-r Ignored for compatibility with rc
@<file> Read options from <file>
-h --help Print this help message
-V --version Print version information
FORMAT is one of rc, res, or coff, and is deduced from the file name
extension if not specified. A single file name is an input file.
No input-file is stdin, default rc. No output-file is stdout, default rc.
C:/Qt/Qt5.12.0/Tools/mingw810_64/bin/windres.exe: supported targets: pe-x86-64 pei-x86-64 pe-bigobj-x86-64 elf64-x86-64 elf64-l1om elf64-k1om pe-i386 pei-i386 elf32-i386 elf32-iamcu elf64-little elf64-big elf32-little elf32-big plugin srec symbolsrec verilog tekhex binary ihex
make[3]: *** [CMakeFiles/Degate.dir/res/resource.rc.obj] Error 1
make[3]: Leaving directory `G:/personal_projects/Degate/rel_win_build'
make[2]: *** [CMakeFiles/Degate.dir/all] Error 2
make[2]: Leaving directory `G:/personal_projects/Degate/rel_win_build'
make[1]: *** [CMakeFiles/Degate.dir/rule] Error 2
make[1]: Leaving directory `G:/personal_projects/Degate/rel_win_build'
rel_win_build\CMakeFiles\Degate.dir\flags.make:
...
RC_FLAGS = -Wall -g -fno-inline -std=c++11
RC_DEFINES = -DBOOST_NO_CXX11_SCOPED_ENUMS -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB
RC_INCLUDES = -IG:/personal_projects/Degate/rel_win_build/Degate_autogen/include -IG:/_LIBS/boost_1_70_0 -IG:/personal_projects/Degate/src -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/include -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/include/QtWidgets -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/include/QtGui -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/include/QtANGLE -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/include/QtCore -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/./mkspecs/win32-g++ -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/include/QtXml -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/include/QtOpenGL -IC:/Qt/Qt5.12.0/5.15.0/mingw81_64/include/QtConcurrent
rel_win_build\CMakeFiles\Degate.dir\build.make:
...
CMakeFiles/Degate.dir/res/resource.rc.obj: CMakeFiles/Degate.dir/flags.make
CMakeFiles/Degate.dir/res/resource.rc.obj: ../res/resource.rc
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=G:/personal_projects/Degate/rel_win_build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_20) "Building RC object CMakeFiles/Degate.dir/res/resource.rc.obj"
C:/Qt/Qt5.12.0/Tools/mingw810_64/bin/windres.exe -O coff $(RC_DEFINES) $(RC_INCLUDES) $(RC_FLAGS) /Y- G:/personal_projects/Degate/res/resource.rc CMakeFiles/Degate.dir/res/resource.rc.obj
...
Environment:
the same as in issue #6
Additional context
I don't know why mingw GCC 8.x.y compiler set such RC_FLAGS
value.
If the line RC_FLAGS = -Wall -g -fno-inline -std=c++11
is commented out manually, then Degate compiles successfully.
I tried set(CMAKE_RC_FLAGS "")
, but it doesn't help.
Any ideas?
Is your feature request related to a problem? Please describe.
Whilst I'm (slowly) removing usages of Boost from the project, I've noticed that there are some bits of code that could be either removed in favour of using established libraries, or not shipped along with the project (f.ex: unbundling catch2, using opencv for image processing, etc.)
Describe the solution you'd like
A package manager like vcpkg or conan would help in achieving that, and also simplifying CI setup as all dependencies are brought in (and hopefully cached) from the internet - especially for OSes developers have no local access to. I have a personal preference towards vcpkg as it deeply integrates with cmake and does not need anything special installed (conan needs a full python+pip environment set up). Both package managers in question have pretty much identical available packages for installation so either can in theory handle building Degate.
Describe alternatives you've considered
Things still work as they are right now so this does not apply.
Additional context
N/A
To make translations easier there is an amazing platform - Crowdin.
It has GitHub and Qt Linguist integration out of the box. We (Cutter) happily use it:
Describe the bug
Degate seems to be unable to handle large images in the latest version with the 'attached' project type.
To Reproduce
Steps to reproduce the behavior:
I also tested the half-sized image with the same result.
Expected behavior
There should be no crashing.
Desktop (please complete the following information):
Currently the MacOS CI is failing. This seems to be caused by MacOS 10 Github runners not being available anymore. We should migrate the job to MacOS11.
Describe the bug
Hi all.
I have tried to build project on my local machine but it doesn't compile.
To Reproduce
$ cmake -Wdev -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DBOOST_LIBRARYDIR=G:\\_LIBS\\boost_1_70_0\\stage\\lib -DBoost_INCLUDE_DIR=G:\\_LIBS\\boost_1_70_0 -DBOOST_ROOT=G:\\_LIBS\\boost_1_70_0\\boost -DCMAKE_PREFIX_PATH=C:\\Qt\\Qt5.12.0\\5.15.0\\mingw81_64\\bin -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ ..
-- The C compiler identification is GNU 8.1.0
-- The CXX compiler identification is GNU 8.1.0
-- Check for working C compiler: C:/Qt/Qt5.12.0/Tools/mingw810_64/bin/gcc.exe
-- Check for working C compiler: C:/Qt/Qt5.12.0/Tools/mingw810_64/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Qt/Qt5.12.0/Tools/mingw810_64/bin/g++.exe
-- Check for working CXX compiler: C:/Qt/Qt5.12.0/Tools/mingw810_64/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using compiler: C:/Qt/Qt5.12.0/Tools/mingw810_64/bin/g++.exe
-- Boost static libs: ON
-- Boost multithreaded libs: ON
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Using compiler: C:/Qt/Qt5.12.0/Tools/mingw810_64/bin/g++.exe
-- Boost static libs: ON
-- Boost multithreaded libs: ON
-- Found Boost: G:\_LIBS\boost_1_70_0 (found version "1.70.0") found components: filesystem system thread chrono date_time atomic
-- x64 configuration
-- Degate version: 2.1.0-alpha.1
-- Release date: unreleased
-- Doxygen not found
-- Configuring done
-- Generating done
-- Build files have been written to: G:/personal_projects/Degate/rel_win_build
$ make -j VERBOSE=1
Expected behavior
Project should be compiled without any error.
Screenshots
In file included from C:/Qt/Qt5.12.0/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/map:60,
from G:/personal_projects/Degate/src/Globals.h:29,
from G:/personal_projects/Degate/src/Core/Image/Image.h:45,
from G:/personal_projects/Degate/src/Core/LogicModel/PlacedLogicModelObject.h:26,
from G:/personal_projects/Degate/src/Core/LogicModel/ObjectSet.h:25,
from G:/personal_projects/Degate/src/Core/LogicModel/ObjectSet.cc:24:
C:/Qt/Qt5.12.0/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/bits/stl_tree.h: In instantiation of 'class std::_Rb_tree<std::shared_ptr<degate::GatePort>, std::shared_ptr<degate::GatePort>, std::_Identity<std::shared_ptr<degate::GatePort> >, degate::LMOCompare, std::allocator<std::shared_ptr<degate::GatePort> > >':
C:/Qt/Qt5.12.0/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/bits/stl_set.h:133:17: required from 'class std::set<std::shared_ptr<degate::GatePort>, degate::LMOCompare>'
G:/personal_projects/Degate/src/Core/LogicModel/Gate/Gate.h:60:53: required from here
C:/Qt/Qt5.12.0/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/bits/stl_tree.h:452:21: error: static assertion failed: comparison object must be invocable with two arguments of key type
static_assert(__is_invocable<_Compare&, const _Key&, const _Key&>{},
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make.exe[2]: *** [CMakeFiles/DegateCore.dir/src/Core/LogicModel/ObjectSet.cc.obj] Error 1
make.exe[2]: Leaving directory `G:/personal_projects/Degate/win_build'
make.exe[1]: *** [CMakeFiles/DegateCore.dir/all] Error 2
make.exe[1]: Leaving directory `G:/personal_projects/Degate/win_build'
make.exe: *** [all] Error 2
Desktop (please complete the following information):
Additional context
Here seems to be the same error.
Describe the bug
Crash while loading a JPEG image, reported by Yannick D. (via email). Need more information to investigate.
Issue
Analyzer issued a lot of warnings.
To Reproduce
Environment:
Web Report
Degate_c2d0f29_PVS-Studio-log.zip
Text Report
===============General Analysis (GA)===============
G:\personal_projects\Degate\src\Core\Generator\VerilogTBCodeTemplateGenerator.h (50): error V762: [CWE-670] It is possible a virtual function was overridden incorrectly. See second argument of function 'generate_module' in derived class 'VerilogTBCodeTemplateGenerator' and base class 'VerilogCodeTemplateGenerator'.
G:\personal_projects\Degate\src\Core\Image\TileCache.h (321): error V730: [CWE-457] Not all members of a class are initialized inside the constructor. Consider inspecting: curr_tile_num_x, curr_tile_num_y.
G:\personal_projects\Degate\src\Core\LogicModel\PlacedLogicModelObject.cc (34): error V730: [CWE-457] Not all members of a class are initialized inside the constructor. Consider inspecting: index.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (48): error V730: [CWE-457] Not all members of a class are initialized inside the constructor. Consider inspecting: stats, start, finish.
G:\personal_projects\Degate\src\Core\Primitive\RegionList.h (215): error V654: [CWE-834] The condition 'chk > 9' of loop is always false.
G:\personal_projects\Degate\src\Core\Primitive\RegionList.h (68): error V614: [CWE-457] Uninitialized variable 'cnt' used.
G:\personal_projects\Degate\src\Core\Utils\MemoryMap.h (341): error V614: [CWE-457] Uninitialized variable 'x' used. Consider checking the first actual argument of the 'get_void_ptr' function.
G:\personal_projects\Degate\src\Core\Utils\ProgressControl.h (120): error V1053: Calling the 'reset_progress' virtual function in the constructor may lead to unexpected result at runtime.
G:\personal_projects\Degate\src\GUI\Dialog\AboutDialog.cc (39): error V501: [CWE-571] There are identical sub-expressions to the left and to the right of the '==' operator: QString("nightly") == QString("nightly")
G:\personal_projects\Degate\src\GUI\Dialog\AboutDialog.cc (43): error V501: [CWE-571] There are identical sub-expressions 'QString("unreleased")' to the left and to the right of the '==' operator.
G:\personal_projects\Degate\src\GUI\Utils\Updater.cc (34): error V730: [CWE-457] Not all members of a class are initialized inside the constructor. Consider inspecting: notify_no_update.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (182): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (80): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (190): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (78): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (72): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (61): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (59): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (33): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (34): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (52): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (43): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (81): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (87): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (94): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (189): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (183): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (184): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (176): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (185): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (175): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (170): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (166): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (162): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (155): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (153): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (146): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (138): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (129): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (122): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (119): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (116): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (113): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (106): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (100): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (186): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (187): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (177): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (41): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\GateLibraryExporterTests.cc (49): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\GateLibraryExporterTests.cc (46): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\GateLibraryExporterTests.cc (59): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\GateLibraryImporterTests.cc (60): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\GateLibraryImporterTests.cc (59): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\GateLibraryImporterTests.cc (43): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\GateLibraryImporterTests.cc (47): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\GateLibraryImporterTests.cc (54): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\GateLibraryImporterTests.cc (58): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\GateLibraryImporterTests.cc (57): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\GateLibraryImporterTests.cc (72): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\GateLibraryImporterTests.cc (66): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\GateLibraryImporterTests.cc (69): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\GateLibraryImporterTests.cc (67): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageProcessingTests.cc (64): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageProcessingTests.cc (56): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageProcessingTests.cc (60): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (62): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (57): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (56): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (64): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (76): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (88): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (91): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (55): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (104): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (63): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (140): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (152): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (149): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (107): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (54): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (114): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (115): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (125): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (128): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (130): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (146): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (134): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (143): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (43): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (155): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (41): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (40): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ImageTests.cc (42): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelDOTExporterTests.cc (45): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelDOTExporterTests.cc (55): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelDOTExporterTests.cc (73): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelDOTExporterTests.cc (88): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelImporterTests.cc (55): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelImporterTests.cc (60): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelImporterTests.cc (54): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelImporterTests.cc (38): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelImporterTests.cc (46): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelImporterTests.cc (53): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelImporterTests.cc (52): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (48): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (37): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (51): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (54): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (76): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (79): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (81): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (83): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (34): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (40): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (86): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (125): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (129): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (96): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (98): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (99): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (102): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (106): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (109): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (124): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (126): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (94): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\MemoryMapTests.cc (54): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\MemoryMapTests.cc (51): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\MemoryMapTests.cc (50): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\MemoryMapTests.cc (38): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\MemoryMapTests.cc (35): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\MemoryMapTests.cc (34): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\MemoryMapTests.cc (48): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\MemoryMapTests.cc (67): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\MemoryMapTests.cc (59): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\MemoryMapTests.cc (73): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\MemoryMapTests.cc (75): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\MemoryMapTests.cc (76): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\MemoryMapTests.cc (79): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\MemoryMapTests.cc (82): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\MemoryMapTests.cc (83): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\MemoryMapTests.cc (71): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ProjectExporterTests.cc (42): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ProjectImporterTests.cc (61): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ProjectImporterTests.cc (65): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ProjectImporterTests.cc (56): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ProjectImporterTests.cc (79): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ProjectImporterTests.cc (82): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ProjectImporterTests.cc (85): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ProjectImporterTests.cc (90): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ProjectImporterTests.cc (96): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ProjectImporterTests.cc (46): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ProjectImporterTests.cc (43): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ProjectImporterTests.cc (98): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ProjectImporterTests.cc (113): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ProjectImporterTests.cc (40): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ProjectImporterTests.cc (68): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ProjectImporterTests.cc (114): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (148): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (151): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (57): error V501: [CWE-571] There are identical sub-expressions 'qt.region_iter_begin(0, 0, 0, 0)' to the left and to the right of the '==' operator.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (49): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (150): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (48): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (45): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (105): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (147): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (44): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (41): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (121): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (108): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (143): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (117): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (119): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (118): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (141): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (140): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (137): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (136): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (135): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (120): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (133): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (146): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (177): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (174): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (86): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (93): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (84): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (81): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (94): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (78): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (57): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (72): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (69): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (99): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (75): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (63): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (58): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (104): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (66): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (59): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (122): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (60): error V501: [CWE-571] There are identical sub-expressions 'qt.region_iter_end()' to the left and to the right of the '==' operator.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (60): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ScalingManagerTests.cc (39): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ScalingManagerTests.cc (49): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (80): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (74): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (73): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (71): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (79): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (70): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (81): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (75): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (87): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (88): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (103): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (90): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (62): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (91): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (92): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (93): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (97): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (98): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (100): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (84): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (58): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (102): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (50): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (49): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (105): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (45): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (43): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (42): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (41): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (39): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (106): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (108): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (57): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (101): error V521: [CWE-480] Such expressions using the ',' operator are dangerous. Make sure the expression is correct.
G:\personal_projects\Degate\src\Core\Generator\CodeTemplateGenerator.cc (138): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\CodeTemplateGenerator.cc (149): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\CodeTemplateGenerator.cc (160): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\CodeTemplateGenerator.h (104): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\VerilogCodeTemplateGenerator.cc (407): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\VerilogCodeTemplateGenerator.cc (194): error V560: [CWE-571] A part of conditional expression is always true: in.size() > 0.
G:\personal_projects\Degate\src\Core\Generator\VerilogCodeTemplateGenerator.cc (139): error V547: [CWE-570] Expression 'reset_name.empty()' is always false.
G:\personal_projects\Degate\src\Core\Generator\VerilogCodeTemplateGenerator.cc (194): error V560: [CWE-571] A part of conditional expression is always true: out.size() > 0.
G:\personal_projects\Degate\src\Core\Generator\VerilogCodeTemplateGenerator.cc (126): error V688: The 'logic_class' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Generator\VerilogCodeTemplateGenerator.cc (112): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\VerilogCodeTemplateGenerator.cc (332): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\VerilogCodeTemplateGenerator.cc (102): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\VerilogModuleGenerator.cc (172): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\VerilogTBCodeTemplateGenerator.cc (49): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\VerilogTBCodeTemplateGenerator.cc (208): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\VerilogTBCodeTemplateGenerator.cc (198): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\VerilogTBCodeTemplateGenerator.cc (82): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\VerilogTBCodeTemplateGenerator.cc (91): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\VerilogTBCodeTemplateGenerator.cc (51): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\VHDLCodeTemplateGenerator.cc (215): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\VHDLCodeTemplateGenerator.cc (238): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\VHDLTBCodeTemplateGenerator.cc (51): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Generator\VHDLTBCodeTemplateGenerator.cc (52): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Image\Manipulation\MorphologicalFilter.h (249): error V519: [CWE-563] The 'running' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 248, 249.
G:\personal_projects\Degate\src\Core\Image\Processor\IPCopy.h (46): error V730: [CWE-457] Not all members of a class are initialized inside the constructor. Consider inspecting: min_x, max_x, min_y, max_y.
G:\personal_projects\Degate\src\Core\LogicModel\Annotation\Annotation.h (100): error V730: [CWE-457] Not all members of a class are initialized inside the constructor. Consider inspecting: class_id.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\AutoNameGates.cc (63): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\AutoNameGates.cc (90): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GateLibraryImporter.cc (233): error V1024: [CWE-20] The 'myfile' stream is checked for EOF before reading from it, but is not checked after reading. Potential use of invalid data.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GatePort.h (57): error V730: [CWE-457] Not all members of a class are initialized inside the constructor. Consider inspecting: template_port_id.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModel.cc (751): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModel.cc (730): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelHelper.cc (850): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelHelper.cc (832): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelHelper.cc (818): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelHelper.cc (777): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (551): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (80): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\LogicModel\Via\Via.h (70): error V730: [CWE-457] Not all members of a class are initialized inside the constructor. Consider inspecting: direction.
G:\personal_projects\Degate\src\Core\Matching\EdgeDetection.cc (137): error V581: [CWE-670] The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 136, 137.
G:\personal_projects\Degate\src\Core\Matching\ExternalMatching.cc (36): error V730: [CWE-457] Not all members of a class are initialized inside the constructor. Consider inspecting: exit_code.
G:\personal_projects\Degate\src\Core\Matching\ExternalMatching.cc (106): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Matching\LineSegmentExtraction.h (279): error V1048: [CWE-1164] The 'running' variable was assigned the same value.
G:\personal_projects\Degate\src\Core\Matching\LineSegmentExtraction.h (292): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (305): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (260): error V688: The 'matches' local variable possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\ViaMatching.cc (35): error V730: [CWE-457] Not all members of a class are initialized inside the constructor. Consider inspecting: via_diameter, merge_n_vias.
G:\personal_projects\Degate\src\Core\Matching\ViaMatching.cc (296): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Matching\WireMatching.cc (112): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Primitive\QuadTree.h (430): error V1048: [CWE-1164] The 'ret' variable was assigned the same value.
G:\personal_projects\Degate\src\Core\Primitive\QuadTreeDownIterator.h (30): error V690: The 'DownIterator' class implements the copy assignment operator, but lacks a copy constructor. It is dangerous to use such a class.
G:\personal_projects\Degate\src\Core\Primitive\QuadTreeRegionIterator.h (32): error V690: The 'RegionIterator' class implements the copy assignment operator, but lacks a copy constructor. It is dangerous to use such a class.
G:\personal_projects\Degate\src\Core\Primitive\Region.h (486): error V730: [CWE-457] Not all members of a class are initialized inside the constructor. Consider inspecting: y_min, y_max, x_min, x_max.
G:\personal_projects\Degate\src\Core\Primitive\RegionList.h (287): error V730: [CWE-457] Not all members of a class are initialized inside the constructor. Consider inspecting: width, height, count.
G:\personal_projects\Degate\src\Core\Project\Project.cc (50): error V730: [CWE-457] It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: changed.
G:\personal_projects\Degate\src\Core\Project\Project.cc (40): error V730: [CWE-457] It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: changed.
G:\personal_projects\Degate\src\Core\Project\ProjectImporter.cc (266): error V668: [CWE-570] There is no sense in testing the 'new_bg_image' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
G:\personal_projects\Degate\src\Core\RuleCheck\RCVBlacklistExporter.cc (50): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\RuleCheck\RuleChecker.h (56): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\RuleCheck\RuleChecker.h (53): error V1044: [CWE-834] Loop break conditions do not depend on the number of iterations.
G:\personal_projects\Degate\src\Core\Utils\MemoryMap.h (332): error V751: Parameter 'min_x' is not used inside function body.
G:\personal_projects\Degate\src\Core\Utils\ProgressControl.h (118): error V730: [CWE-457] It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: step_size.
G:\personal_projects\Degate\src\GUI\Widget\LayersEditWidget.cc (451): error V522: [CWE-690] There might be dereferencing of a potential null pointer.
G:\personal_projects\Degate\src\GUI\Widget\LayersEditWidget.cc (366): error V522: [CWE-690] There might be dereferencing of a potential null pointer 'background'.
G:\personal_projects\Degate\src\GUI\Widget\LayersEditWidget.cc (359): error V522: [CWE-690] There might be dereferencing of a potential null pointer.
G:\personal_projects\Degate\src\GUI\Widget\LayersEditWidget.cc (458): error V522: [CWE-690] There might be dereferencing of a potential null pointer.
G:\personal_projects\Degate\src\GUI\Widget\LayersEditWidget.cc (256): error V522: [CWE-690] There might be dereferencing of a potential null pointer 'background'.
G:\personal_projects\Degate\src\GUI\Widget\LayersEditWidget.cc (459): error V522: [CWE-690] There might be dereferencing of a potential null pointer.
G:\personal_projects\Degate\src\GUI\Widget\LayersEditWidget.cc (494): error V522: [CWE-690] There might be dereferencing of a potential null pointer.
G:\personal_projects\Degate\src\GUI\Widget\LayersEditWidget.cc (452): error V522: [CWE-690] There might be dereferencing of a potential null pointer.
G:\personal_projects\Degate\src\GUI\Widget\LayersEditWidget.cc (495): error V522: [CWE-690] There might be dereferencing of a potential null pointer.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (148): error V522: [CWE-690] There might be dereferencing of a potential null pointer 'w2'.
G:\personal_projects\Degate\src\Core\DOT\LogicModelDOTExporter.h (147): error V783: [CWE-119] Dereferencing of the invalid iterator 'found' might take place.
G:\personal_projects\Degate\src\Core\Generator\VerilogCodeTemplateGenerator.cc (75): error V688: The 'entity_name' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Generator\VHDLCodeTemplateGenerator.cc (99): error V688: The 'logic_class' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Generator\VHDLCodeTemplateGenerator.cc (194): error V688: The 'entity_name' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Generator\VHDLCodeTemplateGenerator.cc (88): error V688: The 'entity_name' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Generator\VHDLCodeTemplateGenerator.cc (76): error V688: The 'entity_name' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Grid\IrregularGrid.cc (42): error V547: [CWE-571] Expression 'current >= pos' is always true.
G:\personal_projects\Degate\src\Core\Grid\RegularGrid.cc (34): error V1034: [CWE-834] Do not use real type variables as loop counters.
G:\personal_projects\Degate\src\Core\Grid\RegularGrid.cc (54): error V550: [CWE-682] An odd precise comparison: distance == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Grid\RegularGrid.h (69): error V688: The 'max' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Grid\RegularGrid.h (69): error V688: The 'min' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Image\Image.h (27): error V1003: The macro 'MASK_R' is a dangerous expression. The parameter 'r' must be surrounded by parentheses.
G:\personal_projects\Degate\src\Core\Image\Image.h (35): error V1003: The macro 'MASK_B' is a dangerous expression. The parameter 'b' must be surrounded by parentheses.
G:\personal_projects\Degate\src\Core\Image\Image.h (29): error V1003: The macro 'MASK_B' is a dangerous expression. The parameter 'b' must be surrounded by parentheses.
G:\personal_projects\Degate\src\Core\Image\Image.h (28): error V1003: The macro 'MASK_G' is a dangerous expression. The parameter 'g' must be surrounded by parentheses.
G:\personal_projects\Degate\src\Core\Image\Image.h (30): error V1003: The macro 'MASK_A' is a dangerous expression. The parameter 'a' must be surrounded by parentheses.
G:\personal_projects\Degate\src\Core\Image\Image.h (31): error V1003: The macro 'MERGE_CHANNELS' is a dangerous expression. The parameters 'r', 'g', 'b', 'a' must be surrounded by parentheses.
G:\personal_projects\Degate\src\Core\Image\Image.h (33): error V1003: The macro 'MASK_R' is a dangerous expression. The parameter 'r' must be surrounded by parentheses.
G:\personal_projects\Degate\src\Core\Image\Image.h (34): error V1003: The macro 'MASK_G' is a dangerous expression. The parameter 'g' must be surrounded by parentheses.
G:\personal_projects\Degate\src\Core\Image\Image.h (37): error V1003: The macro 'MERGE_CHANNELS' is a dangerous expression. The parameters 'r', 'g', 'b', 'a' must be surrounded by parentheses.
G:\personal_projects\Degate\src\Core\Image\Image.h (36): error V1003: The macro 'MASK_A' is a dangerous expression. The parameter 'a' must be surrounded by parentheses.
G:\personal_projects\Degate\src\Core\Image\ImageHelper.h (155): error V614: [CWE-457] The 'new_img' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it.
G:\personal_projects\Degate\src\Core\Image\Manipulation\ImageManipulation.h (629): error V537: [CWE-682] Consider reviewing the correctness of 'kernel_width' item's usage.
G:\personal_projects\Degate\src\Core\Image\Manipulation\ImageManipulation.h (162): error V636: [CWE-682] The '147 * ((p >> 8) & 0xff)' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
G:\personal_projects\Degate\src\Core\Image\Manipulation\ImageManipulation.h (119): error V550: [CWE-682] An odd precise comparison: max == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Image\Manipulation\ScalingManager.h (194): error V783: [CWE-119] Dereferencing of the invalid iterator 'found' might take place.
G:\personal_projects\Degate\src\Core\Image\TileCache.h (416): error V576: [CWE-628] Incorrect format. Consider checking the fourth actual argument of the 'snprintf' function. The SIGNED integer type argument is expected.
G:\personal_projects\Degate\src\Core\Image\TileCache.h (416): error V576: [CWE-628] Incorrect format. Consider checking the fifth actual argument of the 'snprintf' function. The SIGNED integer type argument is expected.
G:\personal_projects\Degate\src\Core\Image\TileImage.h (76): error V688: The 'tile_width_exp' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\AutoNameGates.cc (117): error V688: The 'lmodel' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\Gate.cc (139): error V688: The 'gate_template' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\Gate.cc (155): error V550: [CWE-682] An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\Gate.cc (154): error V550: [CWE-682] An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GateLibraryImporter.cc (133): error V550: [CWE-682] An odd precise comparison: max_x == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GateLibraryImporter.cc (133): error V550: [CWE-682] An odd precise comparison: min_y == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GateLibraryImporter.cc (133): error V550: [CWE-682] An odd precise comparison: min_x == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GateLibraryImporter.cc (133): error V550: [CWE-682] An odd precise comparison: max_y == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GatePort.cc (104): error V688: The 'gate_template_port' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\LogicModel\Layer.cc (155): error V688: The 'layer_type' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModel.cc (114): error V688: The 'layers' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModel.cc (705): error V688: The 'layers' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModel.cc (89): error V688: The 'layers' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModel.cc (923): error V688: The 'main_module' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelHelper.cc (245): error V537: [CWE-682] Consider reviewing the correctness of 'tile_count_x' item's usage.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelHelper.cc (253): error V576: [CWE-628] Incorrect format. Consider checking the fourth actual argument of the 'snprintf' function. The SIGNED integer type argument is expected.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelHelper.cc (253): error V576: [CWE-628] Incorrect format. Consider checking the fifth actual argument of the 'snprintf' function. The SIGNED integer type argument is expected.
G:\personal_projects\Degate\src\Core\Matching\BinaryLineDetection.cc (67): error V688: The 'directory' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\BinaryLineDetection.cc (210): error V636: [CWE-682] The expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
G:\personal_projects\Degate\src\Core\Matching\BinaryLineDetection.cc (230): error V688: The 'region' local variable possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\BinaryLineDetection.cc (200): error V688: The 'mean_image' local variable possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\ExternalMatching.cc (143): error V614: [CWE-457] The 'plo' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it.
G:\personal_projects\Degate\src\Core\Matching\LineSegmentExtraction.h (368): error V688: The 'img' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\LineSegmentExtraction.h (403): error V614: [CWE-457] The 'segment' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (120): error V688: The 'scale_down' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (96): error V688: The 'bounding_box' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (771): error V656: [CWE-665] Variables 'state->iter_begin', 'state->iter_last' are initialized through the call to the same function. It's probably an error or un-optimized code. Consider inspecting the 'state->grid->begin()' expression. Check lines: 770, 771.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (661): error V550: [CWE-682] An odd precise comparison: denominator == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (628): error V636: [CWE-682] The expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (96): error V688: The 'project' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (119): error V688: The 'bounding_box' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (484): error V688: The 'matches' local variable possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (129): error V688: The 'bounding_box' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (448): error V688: The 'threshold_hc' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (210): error V688: The 'gs_img_scaled' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (245): error V688: The 'tmpl_orientations' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (433): error V688: The 'threshold_hc' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (475): error V688: The 'threshold_hc' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (475): error V688: The 'threshold_detection' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (209): error V688: The 'gs_img_normal' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\ViaMatching.cc (129): error V688: The 'img' local variable possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\ZeroCrossingEdgeDetection.cc (186): error V688: The 'min_d' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\ZeroCrossingEdgeDetection.cc (97): error V688: The 'max_d' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\ZeroCrossingEdgeDetection.cc (186): error V688: The 'max_d' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\ZeroCrossingEdgeDetection.cc (97): error V688: The 'min_d' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\ZeroCrossingEdgeDetection.cc (96): error V688: The 'zero_threshold' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Matching\ZeroCrossingEdgeDetection.cc (95): error V688: The 'edge_threshold' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.cc (202): error V688: The 'min_y' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.cc (202): error V688: The 'max_y' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.cc (36): error V688: The 'max_y' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.cc (36): error V688: The 'min_y' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.cc (202): error V688: The 'min_x' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.cc (150): error V688: The 'min_x' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.cc (36): error V688: The 'max_x' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.cc (168): error V688: The 'max_y' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.cc (202): error V688: The 'max_x' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.cc (162): error V688: The 'max_x' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.cc (156): error V688: The 'min_y' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.cc (36): error V688: The 'min_x' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.cc (80): error V550: [CWE-682] An odd precise comparison: max_x == other.max_x. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.cc (81): error V550: [CWE-682] An odd precise comparison: min_y == other.min_y. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.cc (82): error V550: [CWE-682] An odd precise comparison: max_y == other.max_y. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.cc (79): error V550: [CWE-682] An odd precise comparison: min_x == other.min_x. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Primitive\BoundingBox.h (31): error V690: The 'BoundingBox' class implements a copy constructor, but lacks the copy assignment operator. It is dangerous to use such a class.
G:\personal_projects\Degate\src\Core\Primitive\Circle.cc (77): error V550: [CWE-682] An odd precise comparison: x == other.x. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Primitive\Circle.cc (77): error V550: [CWE-682] An odd precise comparison: y == other.y. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Primitive\Line.cc (214): error V688: The 'to_y' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Line.cc (89): error V550: [CWE-682] An odd precise comparison: from_y == to_y. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Primitive\Line.cc (154): error V550: [CWE-682] An odd precise comparison: to_x - from_x == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Primitive\Line.cc (159): error V550: [CWE-682] An odd precise comparison: to_y - from_y == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Primitive\Line.cc (193): error V688: The 'from_x' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Line.cc (200): error V688: The 'to_x' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Line.cc (207): error V688: The 'from_y' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Line.cc (89): error V550: [CWE-682] An odd precise comparison: from_x == to_x. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Primitive\Point.cc (45): error V550: [CWE-682] An odd precise comparison: x == other.x. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Primitive\Point.cc (45): error V550: [CWE-682] An odd precise comparison: y == other.y. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Primitive\QuadTree.h (476): error V688: The 'box' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\QuadTree.h (261): error V688: The 'parent' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\QuadTreeDownIterator.h (66): error V688: The 'node' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\QuadTreeRegionIterator.h (77): error V688: The 'node' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.cc (41): error V688: The 'max_x' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.cc (216): error V688: The 'max_y' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.cc (216): error V688: The 'min_y' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.cc (216): error V688: The 'max_x' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.cc (216): error V688: The 'min_x' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.cc (41): error V688: The 'min_x' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.cc (184): error V688: The 'max_y' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.cc (177): error V688: The 'max_x' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.cc (41): error V688: The 'min_y' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.cc (41): error V688: The 'max_y' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.cc (89): error V550: [CWE-682] An odd precise comparison: min_x == other.min_x. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.cc (90): error V550: [CWE-682] An odd precise comparison: max_x == other.max_x. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.cc (91): error V550: [CWE-682] An odd precise comparison: min_y == other.min_y. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.cc (92): error V550: [CWE-682] An odd precise comparison: max_y == other.max_y. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.cc (163): error V688: The 'min_x' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.cc (170): error V688: The 'min_y' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Primitive\Rectangle.h (32): error V690: The 'Rectangle' class implements a copy constructor, but lacks the copy assignment operator. It is dangerous to use such a class.
G:\personal_projects\Degate\src\Core\Primitive\RegionList.h (220): error V576: [CWE-628] Incorrect format. Consider checking the third actual argument of the 'sprintf' function. The SIGNED integer type argument is expected.
G:\personal_projects\Degate\src\Core\Project\ProjectImporter.cc (96): error V550: [CWE-682] An odd precise comparison: bbox.get_min_y() != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
G:\personal_projects\Degate\src\Core\Project\ProjectImporter.cc (96): error V550: [CWE-682] An odd precise comparison: bbox.get_min_x() != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
G:\personal_projects\Degate\src\Core\Project\ProjectImporter.cc (97): error V550: [CWE-682] An odd precise comparison: bbox.get_max_x() != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
G:\personal_projects\Degate\src\Core\Project\ProjectImporter.cc (97): error V550: [CWE-682] An odd precise comparison: bbox.get_max_y() != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
G:\personal_projects\Degate\src\Core\Utils\DegateHelper.h (28): error V1003: The macro 'LENGTH_TO_MAX' is a dangerous expression. The parameter 'l' must be surrounded by parentheses.
G:\personal_projects\Degate\src\Core\Utils\FilterKernel.h (120): error V525: [CWE-682] The code contains the collection of similar blocks. Check items '1', '2', '1' in lines 120, 121, 122.
G:\personal_projects\Degate\src\Core\Utils\MemoryMap.h (333): error V688: The 'width' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Utils\MemoryMap.h (333): error V688: The 'height' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Utils\MemoryMap.h (350): error V688: The 'filename' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\Core\Utils\Otsu.cc (58): error V636: [CWE-682] The 't * hist_data[t]' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
G:\personal_projects\Degate\src\GUI\Dialog\ColorPickerDialog.cc (151): error V688: The 'color' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\GUI\Dialog\ColorPickerDialog.cc (117): error V688: The 'color' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\GUI\Dialog\ColorPickerDialog.cc (128): error V688: The 'color' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\GUI\Dialog\ProgressDialog.cc (58): error V688: The 'job' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\GUI\Dialog\TemplateMatchingDialog.cc (183): error V522: [CWE-690] There might be dereferencing of a potential null pointer 'matching'.
G:\personal_projects\Degate\src\GUI\Dialog\TemplateMatchingDialog.cc (225): error V522: [CWE-690] There might be dereferencing of a potential null pointer 'matching'.
G:\personal_projects\Degate\src\GUI\MainWindow.cc (36): error V1003: The macro 'SECOND' is a dangerous expression. The expression must be surrounded by parentheses.
G:\personal_projects\Degate\src\GUI\Preferences\ThemeManager.cc (229): error V523: [CWE-691] The 'then' statement is equivalent to the 'else' statement.
G:\personal_projects\Degate\src\GUI\Text\DistanceFieldGenerator.cc (27): error V1003: The macro 'SQUARE_DISTANCE' is a dangerous expression. The parameters 'x1', 'y1', 'x2', 'y2' must be surrounded by parentheses.
G:\personal_projects\Degate\src\GUI\Widget\DoubleSliderWidget.cc (53): error V688: The 'single_step' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\GUI\Widget\DoubleSliderWidget.cc (125): error V688: The 'value' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\GUI\Widget\DoubleSliderWidget.cc (103): error V688: The 'decimals' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\GUI\Widget\DoubleSliderWidget.cc (91): error V688: The 'value' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\src\GUI\Widget\LayersEditWidget.cc (150): error V688: The 'type' function argument possesses the same name as one of the class members, which can result in a confusion.
G:\personal_projects\Degate\tests\src\ImageTests.cc (146): error V550: [CWE-682] An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\tests\src\ImageTests.cc (149): error V550: [CWE-682] An odd precise comparison: 23.0 == db. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (118): error V550: [CWE-682] An odd precise comparison: w->get_from_x() == 20. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (150): error V550: [CWE-682] An odd precise comparison: w2->get_from_x() == 20. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (151): error V550: [CWE-682] An odd precise comparison: w2->get_from_y() == 21. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (121): error V550: [CWE-682] An odd precise comparison: w->get_to_y() == 31. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (119): error V550: [CWE-682] An odd precise comparison: w->get_from_y() == 21. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (120): error V550: [CWE-682] An odd precise comparison: w->get_to_x() == 30. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (88): error V550: [CWE-682] An odd precise comparison: b.get_width() == 90. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (87): error V550: [CWE-682] An odd precise comparison: b.get_height() == diameter. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (97): error V550: [CWE-682] An odd precise comparison: b.get_height() == 90. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
G:\personal_projects\Degate\tests\src\ShapeTests.cc (98): error V550: [CWE-682] An odd precise comparison: b.get_width() == diameter. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
===============Optimization (OP)===============
G:\personal_projects\Degate\src\Core\Image\ImageHelper.h (182): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Image\ImageHelper.h (136): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Image\ImageHelper.h (120): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Image\Manipulation\ImageManipulation.h (452): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Image\Manipulation\ScalingManager.h (161): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Image\Manipulation\ScalingManager.h (170): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Image\Processor\IPConvolve.h (69): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Image\Processor\IPCopy.h (87): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Image\Processor\IPImageWriter.h (68): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Image\Processor\IPMedianFilter.h (63): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Image\Processor\IPNormalize.h (71): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Image\Processor\IPThresholding.h (69): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Image\TileCache.h (534): error V824: Instantiation of TileCache < PixelPolicy >: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Image\TileCache.h (534): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GateLibraryImporter.cc (93): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModel.cc (685): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModel.cc (569): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModel.cc (401): error V808: 'found' object of '_Rb_tree_iterator' type was created but was not utilized.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelHelper.cc (222): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelHelper.h (91): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelHelper.h (283): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (384): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (329): error V808: 'direction_str' object of 'basic_string' type was created but was not utilized.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (503): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (332): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (290): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (239): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (150): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (94): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\BinaryLineDetection.cc (119): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\BinaryLineDetection.cc (125): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\BinaryLineDetection.cc (230): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\BinaryLineDetection.cc (135): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\BinaryLineDetection.cc (112): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\BinaryLineDetection.cc (132): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\BinaryLineDetection.cc (176): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\BinaryLineDetection.cc (200): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\EdgeDetection.cc (82): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\EdgeDetection.cc (61): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\EdgeDetection.cc (68): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\EdgeDetection.cc (75): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\EdgeDetection.cc (85): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\EdgeDetection.cc (124): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\EdgeDetection.cc (129): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\EdgeDetection.cc (128): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\EdgeDetection.cc (155): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\EdgeDetection.cc (186): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\EdgeDetection.cc (125): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\LineSegmentExtraction.h (360): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\LineSegmentExtraction.h (378): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\LineSegmentExtraction.h (393): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (453): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (356): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\ViaMatching.cc (226): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\WireMatching.cc (115): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\ZeroCrossingEdgeDetection.cc (194): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Matching\ZeroCrossingEdgeDetection.cc (58): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Primitive\Region.h (289): error V808: 'iter_end_point' object of '_List_iterator' type was created but was not utilized.
G:\personal_projects\Degate\src\Core\Primitive\Region.h (479): error V826: Consider replacing the 'list_x' std::list with std::vector. Contiguous placement of elements in memory can be more efficient.
G:\personal_projects\Degate\src\Core\Primitive\Region.h (91): error V826: Consider replacing the 'list_x' std::list with std::vector. Contiguous placement of elements in memory can be more efficient.
G:\personal_projects\Degate\src\Core\Primitive\RegionList.h (268): error V808: 'iter_end_point' object of '_List_iterator' type was created but was not utilized.
G:\personal_projects\Degate\src\Core\Primitive\RegionList.h (218): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Primitive\RegionList.h (253): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Primitive\RegionList.h (267): error V808: 'iter_region_line' object of '_List_iterator' type was created but was not utilized.
G:\personal_projects\Degate\src\Core\Primitive\RegionList.h (269): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Primitive\RegionList.h (166): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Primitive\RegionList.h (252): error V808: 'iter_end_point' object of '_List_iterator' type was created but was not utilized.
G:\personal_projects\Degate\src\Core\Primitive\RegionList.h (251): error V808: 'iter_region_line' object of '_List_iterator' type was created but was not utilized.
G:\personal_projects\Degate\src\Core\Project\ProjectExporter.cc (55): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Project\ProjectImporter.cc (146): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Project\ProjectImporter.cc (256): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\Project\ProjectImporter.cc (284): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\RuleCheck\RCVBlacklistExporter.cc (38): error V808: 'directory' object of 'basic_string' type was created but was not utilized.
G:\personal_projects\Degate\src\Core\RuleCheck\RCVBlacklistImporter.cc (44): error V808: 'directory' object of 'basic_string' type was created but was not utilized.
G:\personal_projects\Degate\src\Core\RuleCheck\RCVBlacklistImporter.cc (93): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\GUI\Dialog\ModulesDialog.cc (306): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (135): error V808: 'filename2' object of 'basic_string' type was created but was not utilized.
G:\personal_projects\Degate\tests\src\ImageProcessingTests.cc (43): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\ImageProcessingTests.cc (46): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\ImageProcessingTests.cc (37): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\ImageTests.cc (72): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (91): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (113): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (78): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (75): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (47): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (93): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\LogicModelTests.cc (59): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (80): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (43): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (47): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (114): error V829: Lifetime of the heap-allocated variable 'qtree' is limited to the current function's scope. Consider allocating it on the stack instead.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (62): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (65): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (68): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (71): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (162): error V829: Lifetime of the heap-allocated variable 'qtree' is limited to the current function's scope. Consider allocating it on the stack instead.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (74): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (83): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\QuadTreeTests.cc (77): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\tests\src\ScalingManagerTests.cc (43): error V824: It is recommended to use the 'make_shared' function to create smart pointers.
G:\personal_projects\Degate\src\Core\DOT\DOTExporter.cc (49): error V813: Decreased performance. The 'to_node_id', 'edge_params' arguments should probably be rendered as constant references.
G:\personal_projects\Degate\src\Core\DOT\DOTExporter.cc (31): error V813: Decreased performance. The 'header_line' argument should probably be rendered as a constant reference.
G:\personal_projects\Degate\src\Core\DOT\DOTExporter.cc (36): error V813: Decreased performance. The 'line' argument should probably be rendered as a constant reference.
G:\personal_projects\Degate\src\Core\DOT\DOTExporter.cc (52): error V820: The 'from_node_id' variable is not used after copying. Copying can be replaced with move/swap for optimization.
G:\personal_projects\Degate\src\Core\DOT\DOTExporter.cc (42): error V813: Decreased performance. The 'node_id', 'node_params' arguments should probably be rendered as constant references.
G:\personal_projects\Degate\src\Core\Generator\VerilogTBCodeTemplateGenerator.cc (87): error V823: Decreased performance. Object may be created in-place in the 'port_wiring' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
G:\personal_projects\Degate\src\Core\Generator\VHDLCodeTemplateGenerator.cc (242): error V823: Decreased performance. Object may be created in-place in the 'port_map_str' container. Consider replacing methods: 'push_back' -> 'emplace_back'.
G:\personal_projects\Degate\src\Core\Image\Manipulation\ScalingManager.h (88): error V818: It is more efficient to use an initialization list 'base_directory(base_directory)' rather than an assignment operator.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\AutoNameGates.cc (32): error V801: Decreased performance. It is better to redefine the second function argument as a reference. Consider replacing 'const .. rhs' with 'const .. &rhs'.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\AutoNameGates.cc (37): error V801: Decreased performance. It is better to redefine the second function argument as a reference. Consider replacing 'const .. rhs' with 'const .. &rhs'.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\AutoNameGates.cc (32): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. lhs' with 'const .. &lhs'.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\AutoNameGates.cc (37): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. lhs' with 'const .. &lhs'.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GateLibrary.cc (108): error V803: Decreased performance. In case 'piter' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GateLibrary.cc (126): error V803: Decreased performance. In case 'piter' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GateLibraryImporter.cc (194): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. implementations_element' with 'const .. &implementations_element'.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GateLibraryImporter.cc (166): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. template_images_element' with 'const .. &template_images_element'.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GateLibraryImporter.cc (255): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. template_ports_element' with 'const .. &template_ports_element'.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GateLibraryImporter.cc (89): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. gt_elem' with 'const .. >_elem'.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GateLibraryImporter.cc (102): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. gate_template_element' with 'const .. &gate_template_element'.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GatePort.cc (139): error V807: Decreased performance. Consider creating a pointer to avoid using the 'gate.lock()' expression repeatedly.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GatePort.cc (113): error V807: Decreased performance. Consider creating a pointer to avoid using the 'gate.lock()' expression repeatedly.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModel.cc (733): error V820: The 'layers' variable is not used after copying. Copying can be replaced with move/swap for optimization.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (486): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. modules_element' with 'const .. &modules_element'.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (438): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. annotations_element' with 'const .. &annotations_element'.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (346): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. gates_element' with 'const .. &gates_element'.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (210): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. wires_element' with 'const .. &wires_element'.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (252): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. vias_element' with 'const .. &vias_element'.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (134): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. nets_element' with 'const .. &nets_element'.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (102): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. lm_elem' with 'const .. &lm_elem'.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (304): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. emarkers_element' with 'const .. &emarkers_element'.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (622): error V801: Decreased performance. It is better to redefine the third function argument as a reference. Consider replacing 'const .. summation_table_squared' with 'const .. &summation_table_squared'.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (621): error V801: Decreased performance. It is better to redefine the second function argument as a reference. Consider replacing 'const .. summation_table_single' with 'const .. &summation_table_single'.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (620): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. master' with 'const .. &master'.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (544): error V801: Decreased performance. It is better to redefine the eighth function argument as a reference. Consider replacing 'const .. zero_mean_template' with 'const .. &zero_mean_template'.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (784): error V803: Decreased performance. In case 'state->iter_begin' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (543): error V801: Decreased performance. It is better to redefine the seventh function argument as a reference. Consider replacing 'const .. master' with 'const .. &master'.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (228): error V801: Decreased performance. It is better to redefine the second function argument as a reference. Consider replacing 'const .. rhs' with 'const .. &rhs'.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (228): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. lhs' with 'const .. &lhs'.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (623): error V801: Decreased performance. It is better to redefine the fourth function argument as a reference. Consider replacing 'const .. zero_mean_template' with 'const .. &zero_mean_template'.
G:\personal_projects\Degate\src\Core\Primitive\QuadTree.h (261): error V818: It is more efficient to use an initialization list 'box(box)' rather than an assignment operator.
G:\personal_projects\Degate\src\Core\Primitive\QuadTree.h (252): error V818: It is more efficient to use an initialization list 'box(box)' rather than an assignment operator.
G:\personal_projects\Degate\src\Core\Project\PortColorManager.h (77): error V813: Decreased performance. The 'port_name' argument should probably be rendered as a constant reference.
G:\personal_projects\Degate\src\Core\Project\PortColorManager.h (69): error V813: Decreased performance. The 'port_name' argument should probably be rendered as a constant reference.
G:\personal_projects\Degate\src\Core\Project\Project.cc (168): error V820: The 'version_str' variable is not used after copying. Copying can be replaced with move/swap for optimization.
G:\personal_projects\Degate\src\Core\Project\Project.cc (156): error V813: Decreased performance. The 'description' argument should probably be rendered as a constant reference.
G:\personal_projects\Degate\src\Core\Project\Project.cc (166): error V813: Decreased performance. The 'version_str' argument should probably be rendered as a constant reference.
G:\personal_projects\Degate\src\Core\Project\Project.cc (158): error V820: The 'description' variable is not used after copying. Copying can be replaced with move/swap for optimization.
G:\personal_projects\Degate\src\Core\RuleCheck\RCVBlacklistImporter.cc (77): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. elem' with 'const .. &elem'.
G:\personal_projects\Degate\src\Core\XML\XMLImporter.cc (40): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. start_node' with 'const .. &start_node'.
G:\personal_projects\Degate\src\Core\XML\XMLImporter.h (65): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. node' with 'const .. &node'.
G:\personal_projects\Degate\src\Core\XML\XMLImporter.h (45): error V801: Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. node' with 'const .. &node'.
G:\personal_projects\Degate\src\GUI\Dialog\AnnotationListDialog.cc (93): error V803: Decreased performance. In case 'it' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
G:\personal_projects\Degate\src\GUI\Dialog\GateListDialog.cc (104): error V803: Decreased performance. In case 'it' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
G:\personal_projects\Degate\src\GUI\Dialog\NewProjectDialog.cc (124): error V820: The 'temp_project_directory' variable is not used after copying. Copying can be replaced with move/swap for optimization.
G:\personal_projects\Degate\src\GUI\Dialog\NewProjectDialog.cc (32): error V818: It is more efficient to use an initialization list 'project_directory(project_path)' rather than an assignment operator.
G:\personal_projects\Degate\src\GUI\Preferences\PreferencesHandler.cc (311): error V803: Decreased performance. In case 'it' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
G:\personal_projects\Degate\src\GUI\Preferences\PreferencesHandler.h (41): error V802: On 64-bit platform, structure size can be reduced from 56 to 48 bytes by rearranging the fields according to their sizes in decreasing order.
G:\personal_projects\Degate\src\GUI\Preferences\PreferencesPage\AppearancePreferencesPage.cc (49): error V807: Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
G:\personal_projects\Degate\src\GUI\Preferences\PreferencesPage\GeneralPreferencesPage.cc (45): error V807: Decreased performance. Consider creating a reference to avoid using the same expression repeatedly.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (175): error V815: Decreased performance. Consider replacing the expression 'get_filename_from_path("") == ""' with 'get_filename_from_path("").empty()'.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (190): error V815: Decreased performance. Consider replacing the expression 'get_basename(".conf") == ""' with 'get_basename(".conf").empty()'.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (186): error V815: Decreased performance. Consider replacing the expression 'get_basename("/etc/.conf") == ""' with 'get_basename("/etc/.conf").empty()'.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (182): error V815: Decreased performance. Consider replacing the expression 'get_basename("") == ""' with 'get_basename("").empty()'.
G:\personal_projects\Degate\src\Core\DOT\LogicModelDOTExporter.cc (241): error V821: Decreased performance. The 'net_name' variable can be constructed in a lower level scope.
G:\personal_projects\Degate\src\Core\Generator\VerilogCodeTemplateGenerator.cc (406): error V815: Decreased performance. Consider replacing the expression 'prefix == ""' with 'prefix.empty()'.
G:\personal_projects\Degate\src\Core\Generator\VerilogCodeTemplateGenerator.cc (178): error V815: Decreased performance. Consider replacing the expression 'outer_op = ""' with 'outer_op.clear()'.
G:\personal_projects\Degate\src\Core\Generator\VerilogModuleGenerator.cc (192): error V821: Decreased performance. The 'tmpl_port' variable can be constructed in a lower level scope.
G:\personal_projects\Degate\src\Core\Generator\VerilogModuleGenerator.cc (259): error V815: Decreased performance. Consider replacing the expression 'wire_definitions != ""' with '!wire_definitions.empty()'.
G:\personal_projects\Degate\src\Core\Generator\VerilogTBCodeTemplateGenerator.cc (81): error V826: Consider replacing the 'port_wiring' std::list with std::vector. Contiguous placement of elements in memory can be more efficient.
G:\personal_projects\Degate\src\Core\Generator\VHDLCodeTemplateGenerator.cc (236): error V826: Consider replacing the 'port_map_str' std::list with std::vector. Contiguous placement of elements in memory can be more efficient.
G:\personal_projects\Degate\src\Core\Generator\VHDLCodeTemplateGenerator.cc (131): error V815: Decreased performance. Consider replacing the expression 'outer_op = ""' with 'outer_op.clear()'.
G:\personal_projects\Degate\src\Core\Image\ImageHelper.h (152): error V826: Consider replacing the 'images' std::list with std::vector. Contiguous placement of elements in memory can be more efficient.
G:\personal_projects\Degate\src\Core\Image\ImageReader.h (85): error V809: Verifying that a pointer value is not NULL is not required. The 'if (image_reader != nullptr)' check can be removed.
G:\personal_projects\Degate\src\Core\Image\Manipulation\ScalingManager.h (116): error V826: Consider replacing the 'steps' std::list with std::vector. Insertions occur at the back side, and the container is traversed.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GateLibraryImporter.cc (212): error V821: Decreased performance. The 'impl_file' variable can be constructed in a lower level scope.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GateLibraryImporter.cc (210): error V821: Decreased performance. The 'impl_type_str' variable can be constructed in a lower level scope.
G:\personal_projects\Degate\src\Core\LogicModel\Gate\GateTemplate.cc (310): error V815: Decreased performance. Consider replacing the expression 'impl_type_str == ""' with 'impl_type_str.empty()'.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModel.cc (602): error V821: Decreased performance. The 'tmpl_port' variable can be constructed in a lower level scope.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModel.cc (546): error V821: Decreased performance. The 'gate_template' variable can be constructed in a lower level scope.
G:\personal_projects\Degate\src\Core\LogicModel\LogicModelImporter.cc (535): error V821: Decreased performance. The 'port_name' variable can be constructed in a lower level scope.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (142): error V821: Decreased performance. The 'img_scaled' variable can be constructed in a lower level scope.
G:\personal_projects\Degate\src\Core\Matching\TemplateMatching.cc (146): error V821: Decreased performance. The 'scaled_bounding_box' variable can be constructed in a lower level scope.
G:\personal_projects\Degate\src\Core\Primitive\Line.cc (87): error V821: Decreased performance. The 'B' variable can be constructed in a lower level scope.
G:\personal_projects\Degate\src\Core\Primitive\RegionList.h (79): error V821: Decreased performance. The 'tmp_region' variable can be constructed in a lower level scope.
G:\personal_projects\Degate\src\Core\Project\ProjectExporter.cc (55): error V821: Decreased performance. The 'oid_rewriter' variable can be constructed in a lower level scope.
G:\personal_projects\Degate\src\Core\Utils\MemoryMap.h (245): error V809: Verifying that a pointer value is not NULL is not required. The 'if (mem_view != nullptr)' check can be removed.
G:\personal_projects\Degate\src\GUI\Dialog\ColorPickerDialog.cc (104): error V807: Decreased performance. Consider creating a reference to avoid using the 'color_dialog.currentColor()' expression repeatedly.
G:\personal_projects\Degate\src\GUI\Dialog\ConnectionInspector.cc (126): error V807: Decreased performance. Consider creating a reference to avoid using the 'connections_table.selectedItems()' expression repeatedly.
G:\personal_projects\Degate\src\GUI\Dialog\ModulesDialog.cc (301): error V807: Decreased performance. Consider creating a reference to avoid using the 'modules_tree.selectedItems()' expression repeatedly.
G:\personal_projects\Degate\src\GUI\Preferences\PreferencesHandler.cc (180): error V815: Decreased performance. Consider replacing the expression 'locale == ""' with 'locale.isEmpty()'.
G:\personal_projects\Degate\src\GUI\Preferences\ThemeManager.cc (65): error V807: Decreased performance. Consider creating a pointer to avoid using the same expression repeatedly.
G:\personal_projects\Degate\src\GUI\Widget\LayersEditWidget.cc (342): error V807: Decreased performance. Consider creating a pointer to avoid using the 'project->get_logic_model()' expression repeatedly.
G:\personal_projects\Degate\src\GUI\Widget\LayersEditWidget.cc (259): error V807: Decreased performance. Consider creating a reference to avoid using the 'background->get_image_path()' expression repeatedly.
G:\personal_projects\Degate\tests\src\FileSystemTests.cc (137): error V826: Consider replacing the 'files' std::list with std::vector. Contiguous placement of elements in memory can be more efficient.
Describe the bug
A clear and concise description of what the bug I am trying to build a code from github but it gives error when the run the command sudo make. Please help. Also my qmake --version is
Using Qt version 5.14.2 in /opt/qt514/lib```
AboutDialog.cc
/home/admin/delegate/Degate/src/GUI/Dialog/AboutDialog.cc: In constructor ‘degate::AboutDialog::AboutDialog(QWidget*)’:
/home/admin/delegate/Degate/src/GUI/Dialog/AboutDialog.cc:92:19: error: ‘class QTextBrowser’ has no member named ‘setMarkdown’
92 | changelog.setMarkdown(in_changelog.readAll());
| ^~~~~~~~~~~
make[2]: *** [CMakeFiles/DegateCore.dir/build.make:3419: CMakeFiles/DegateCore.dir/src/GUI/Dialog/AboutDialog.cc.o] Error 1
make[2]: Leaving directory '/home/admin/delegate/Degate/build'
make[1]: *** [CMakeFiles/Makefile2:132: CMakeFiles/DegateCore.dir/all] Error 2
make[1]: Leaving directory '/home/admin/delegate/Degate/build'
make: *** [Makefile:133: all] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.