]> granicus.if.org Git - graphviz/commit
move 'gvpack' into C++
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 13 Apr 2022 15:15:47 +0000 (08:15 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 25 Apr 2022 02:12:48 +0000 (19:12 -0700)
commit935daa967c67dd58e5a5e9477bbd00fa9290cbd9
treefe8edbb86a5ddbad54e6745895a0ff12915cb0e8
parent87399248a60f53c62420b0822c60d58cbf169cf3
move 'gvpack' into C++

When ipsepcola is enabled, `gvpack` transitively links against lib/vpsc which is
partly written in C++. A consequence of this is that building `gvpack` requires
a C++ toolchain and linking against the C++ standard library. With this in mind,
there is no advantage for `gvpack` itself to be written in C instead of C++.
Moving to C++ will allow removing some manual memory management and data
structures.

This commit itself is just a straight rename. Upcoming changes will make the
code more idiomatic C++.

Gitlab: #2154
ci/clang_format.py
cmd/tools/CMakeLists.txt
cmd/tools/Makefile.am
cmd/tools/gvpack.cpp [moved from cmd/tools/gvpack.c with 100% similarity]
cmd/tools/gvpack.vcxproj
cmd/tools/gvpack.vcxproj.filters