lab4-Structures

This commit is contained in:
2024-04-01 10:35:00 -05:00
parent 9c2d221338
commit f6452ece21
53 changed files with 5614 additions and 1126 deletions

View File

@@ -2,7 +2,8 @@ cmake_minimum_required(VERSION 3.29)
project(lab4-Structures_CalebFontenot)
set(CMAKE_CXX_STANDARD 23)
add_compile_options(-fsanitize=address)
add_link_options(-fsanitize=address)
add_executable(lab4-Structures_CalebFontenot main.cpp
structures.h
structures.cpp)

View File

@@ -1200,42 +1200,6 @@
],
"type" : "STATIC",
"value" : "/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot"
},
{
"name" : "untitled_BINARY_DIR",
"properties" :
[
{
"name" : "HELPSTRING",
"value" : "Value Computed by CMake"
}
],
"type" : "STATIC",
"value" : "/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug"
},
{
"name" : "untitled_IS_TOP_LEVEL",
"properties" :
[
{
"name" : "HELPSTRING",
"value" : "Value Computed by CMake"
}
],
"type" : "STATIC",
"value" : "ON"
},
{
"name" : "untitled_SOURCE_DIR",
"properties" :
[
{
"name" : "HELPSTRING",
"value" : "Value Computed by CMake"
}
],
"type" : "STATIC",
"value" : "/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot"
}
],
"kind" : "cache",

View File

@@ -39,7 +39,7 @@
{
"directoryIndex" : 0,
"id" : "lab4-Structures_CalebFontenot::@6890427a1f51a3e7e1df",
"jsonFile" : "target-lab4-Structures_CalebFontenot-Debug-a03e3cc403f97fb22392.json",
"jsonFile" : "target-lab4-Structures_CalebFontenot-Debug-1b576e5304c28466b113.json",
"name" : "lab4-Structures_CalebFontenot",
"projectIndex" : 0
}

View File

@@ -26,7 +26,7 @@
"objects" :
[
{
"jsonFile" : "codemodel-v2-30cb7168348ae031d2c3.json",
"jsonFile" : "codemodel-v2-a5d58179fc175756e187.json",
"kind" : "codemodel",
"version" :
{
@@ -35,7 +35,7 @@
}
},
{
"jsonFile" : "cache-v2-a19247ee213122bba0f7.json",
"jsonFile" : "cache-v2-ac387c39271d7fb9ce47.json",
"kind" : "cache",
"version" :
{
@@ -66,7 +66,7 @@
{
"cache-v2" :
{
"jsonFile" : "cache-v2-a19247ee213122bba0f7.json",
"jsonFile" : "cache-v2-ac387c39271d7fb9ce47.json",
"kind" : "cache",
"version" :
{
@@ -86,7 +86,7 @@
},
"codemodel-v2" :
{
"jsonFile" : "codemodel-v2-30cb7168348ae031d2c3.json",
"jsonFile" : "codemodel-v2-a5d58179fc175756e187.json",
"kind" : "codemodel",
"version" :
{

View File

@@ -10,7 +10,9 @@
{
"commands" :
[
"add_executable"
"add_executable",
"add_link_options",
"add_compile_options"
],
"files" :
[
@@ -24,8 +26,20 @@
{
"command" : 0,
"file" : 0,
"line" : 7,
"parent" : 0
},
{
"command" : 1,
"file" : 0,
"line" : 6,
"parent" : 0
},
{
"command" : 2,
"file" : 0,
"line" : 5,
"parent" : 0
}
]
},
@@ -36,6 +50,10 @@
[
{
"fragment" : "-g -std=gnu++23 -fdiagnostics-color=always"
},
{
"backtrace" : 3,
"fragment" : "-fsanitize=address"
}
],
"language" : "CXX",
@@ -66,6 +84,11 @@
{
"fragment" : "",
"role" : "flags"
},
{
"backtrace" : 2,
"fragment" : "-fsanitize=address",
"role" : "flags"
}
],
"language" : "CXX"

View File

@@ -1,42 +1,35 @@
# ninja log v5
0 307 1711406202565012241 CMakeFiles/untitled.dir/main.cpp.o 89b349dd8ce53ebe
0 355 1711407413960714834 CMakeFiles/untitled.dir/structures.cpp.o 77c711c9a5211a01
356 399 1711407414003715708 untitled 4e4d36747ddc701d
0 403 1711407449419435348 CMakeFiles/lab4-Structures_CalebFontenot.dir/main.cpp.o 7dcc50a1778b91a0
3 453 1711407449469436363 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
453 496 1711407449511437216 lab4-Structures_CalebFontenot ed19375c3f47ed34
0 299 1711407507636616900 CMakeFiles/lab4-Structures_CalebFontenot.dir/main.cpp.o 7dcc50a1778b91a0
299 343 1711407507679617772 lab4-Structures_CalebFontenot ed19375c3f47ed34
1 310 1711407518387834923 CMakeFiles/lab4-Structures_CalebFontenot.dir/main.cpp.o 7dcc50a1778b91a0
310 352 1711407518428835754 lab4-Structures_CalebFontenot ed19375c3f47ed34
1 325 1711407550845492812 CMakeFiles/lab4-Structures_CalebFontenot.dir/main.cpp.o 7dcc50a1778b91a0
325 368 1711407550887493663 lab4-Structures_CalebFontenot ed19375c3f47ed34
0 351 1711407597147430537 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
351 393 1711407597188431366 lab4-Structures_CalebFontenot ed19375c3f47ed34
0 343 1711413532103746551 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
343 388 1711413532147747422 lab4-Structures_CalebFontenot ed19375c3f47ed34
0 343 1711413557787255065 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
343 391 1711413557835256015 lab4-Structures_CalebFontenot ed19375c3f47ed34
1 343 1711413594626984066 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
343 390 1711413594672984976 lab4-Structures_CalebFontenot ed19375c3f47ed34
1 318 1711414578589060140 CMakeFiles/lab4-Structures_CalebFontenot.dir/main.cpp.o 7dcc50a1778b91a0
1 348 1711414578619060696 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
1 352 1711414978448575712 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
352 403 1711414978498576661 lab4-Structures_CalebFontenot ed19375c3f47ed34
1 405 1711415331198312562 CMakeFiles/lab4-Structures_CalebFontenot.dir/main.cpp.o 7dcc50a1778b91a0
405 462 1711415331253313617 lab4-Structures_CalebFontenot ed19375c3f47ed34
1 355 1711415351380699781 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
355 402 1711415351426700664 lab4-Structures_CalebFontenot ed19375c3f47ed34
1 325 1711416031501806956 CMakeFiles/lab4-Structures_CalebFontenot.dir/main.cpp.o 7dcc50a1778b91a0
1 347 1711416459421098204 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
347 392 1711416459465099067 lab4-Structures_CalebFontenot ed19375c3f47ed34
1 353 1711416472588356205 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
354 400 1711416472634357107 lab4-Structures_CalebFontenot ed19375c3f47ed34
0 365 1711416482695554205 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
365 414 1711416482743555145 lab4-Structures_CalebFontenot ed19375c3f47ed34
0 354 1711416497138837083 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
354 399 1711416497182837945 lab4-Structures_CalebFontenot ed19375c3f47ed34
0 348 1711417298926466164 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
348 422 1711417298998467564 lab4-Structures_CalebFontenot ed19375c3f47ed34
0 359 1711417885781864949 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
359 416 1711417885837866036 lab4-Structures_CalebFontenot ed19375c3f47ed34
0 24 1711486125915620603 build.ninja 135c66f2ff738fd8
401 446 1711485886968070628 lab4-Structures_CalebFontenot ed19375c3f47ed34
1 397 1711485741533218753 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
0 401 1711485886924069765 CMakeFiles/lab4-Structures_CalebFontenot.dir/main.cpp.o 7dcc50a1778b91a0
0 25 1711486125915620603 build.ninja 135c66f2ff738fd8
1 416 1711486126337628241 CMakeFiles/lab4-Structures_CalebFontenot.dir/main.cpp.o d148e104b4d2374d
1 417 1711486126338628259 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o 487196400350806a
417 494 1711486126413629617 lab4-Structures_CalebFontenot 649a68fd1517ca05
0 402 1711487101436927349 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o 487196400350806a
402 452 1711487101485928286 lab4-Structures_CalebFontenot 649a68fd1517ca05
1 403 1711487122568331572 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o 487196400350806a
403 455 1711487122619332548 lab4-Structures_CalebFontenot 649a68fd1517ca05
1 395 1711487657031592111 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o 487196400350806a
395 444 1711487657079593035 lab4-Structures_CalebFontenot 649a68fd1517ca05
1 378 1711487719535795164 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o 487196400350806a
378 442 1711487719597796357 lab4-Structures_CalebFontenot 649a68fd1517ca05
1 414 1711488904823882503 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o 487196400350806a
414 462 1711488904870883386 lab4-Structures_CalebFontenot 649a68fd1517ca05
0 393 1711490014116943150 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o 487196400350806a
393 438 1711490014160943989 lab4-Structures_CalebFontenot 649a68fd1517ca05
1 568 1711493665055035642 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o 487196400350806a
568 625 1711493665112036751 lab4-Structures_CalebFontenot 649a68fd1517ca05
0 561 1711493830371250833 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o 487196400350806a
561 627 1711493830437252116 lab4-Structures_CalebFontenot 649a68fd1517ca05
1 492 1711494251894431634 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o 487196400350806a
492 542 1711494251944432561 lab4-Structures_CalebFontenot 649a68fd1517ca05
1 399 1711494417017512943 CMakeFiles/lab4-Structures_CalebFontenot.dir/main.cpp.o d148e104b4d2374d
399 448 1711494417065513844 lab4-Structures_CalebFontenot 649a68fd1517ca05
0 524 1711495766448290359 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o 487196400350806a
524 581 1711495766503291418 lab4-Structures_CalebFontenot 649a68fd1517ca05
0 539 1711496119424089587 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o 487196400350806a
539 593 1711496119478090628 lab4-Structures_CalebFontenot 649a68fd1517ca05
1 509 1711496209577827085 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o 487196400350806a
509 564 1711496209631828125 lab4-Structures_CalebFontenot 649a68fd1517ca05

View File

@@ -224,15 +224,6 @@ lab4-Structures_CalebFontenot_IS_TOP_LEVEL:STATIC=ON
//Value Computed by CMake
lab4-Structures_CalebFontenot_SOURCE_DIR:STATIC=/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot
//Value Computed by CMake
untitled_BINARY_DIR:STATIC=/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug
//Value Computed by CMake
untitled_IS_TOP_LEVEL:STATIC=ON
//Value Computed by CMake
untitled_SOURCE_DIR:STATIC=/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot
########################
# INTERNAL cache entries

View File

@@ -61,8 +61,8 @@ events:
checks:
- "Detecting C compiler ABI info"
directories:
source: "/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-u5mDRT"
binary: "/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-u5mDRT"
source: "/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-3YXMFN"
binary: "/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-3YXMFN"
cmakeVariables:
CMAKE_C_FLAGS: ""
CMAKE_C_FLAGS_DEBUG: "-g"
@@ -71,10 +71,10 @@ events:
variable: "CMAKE_C_ABI_COMPILED"
cached: true
stdout: |
Change Dir: '/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-u5mDRT'
Change Dir: '/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-3YXMFN'
Run Build Command(s): /opt/clion/bin/ninja/linux/x64/ninja -v cmTC_ce807
[1/2] /usr/bin/cc -fdiagnostics-color=always -v -o CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c
Run Build Command(s): /opt/clion/bin/ninja/linux/x64/ninja -v cmTC_44766
[1/2] /usr/bin/cc -fdiagnostics-color=always -v -o CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
Target: x86_64-pc-linux-gnu
@@ -82,8 +82,8 @@ events:
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.1 20230801 (GCC)
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ce807.dir/'
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1 -quiet -v /usr/share/cmake/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_ce807.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -fdiagnostics-color=always -o /tmp/ccYoBDAY.s
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_44766.dir/'
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1 -quiet -v /usr/share/cmake/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_44766.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -fdiagnostics-color=always -o /tmp/ccbFUiBk.s
GNU C17 (GCC) version 13.2.1 20230801 (x86_64-pc-linux-gnu)
compiled by GNU C version 13.2.1 20230801, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP
@@ -97,13 +97,13 @@ events:
/usr/include
End of search list.
Compiler executable checksum: eb0b45108af02c02a078961940bce3e9
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ce807.dir/'
as -v --64 -o CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o /tmp/ccYoBDAY.s
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_44766.dir/'
as -v --64 -o CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o /tmp/ccbFUiBk.s
GNU assembler version 2.42.0 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.42.0
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.'
[2/2] : && /usr/bin/cc -v -Wl,-v CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o -o cmTC_ce807 && :
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.'
[2/2] : && /usr/bin/cc -v -Wl,-v CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o -o cmTC_44766 && :
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper
@@ -114,12 +114,12 @@ events:
gcc version 13.2.1 20230801 (GCC)
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ce807' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_ce807.'
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc50HofX.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_ce807 /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. -v CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_44766' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_44766.'
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc7MdfE1.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_44766 /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. -v CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o
collect2 version 13.2.1 20230801
/usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc50HofX.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_ce807 /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. -v CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o
/usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc7MdfE1.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_44766 /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. -v CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o
GNU ld (GNU Binutils) 2.42.0
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ce807' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_ce807.'
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_44766' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_44766.'
exitCode: 0
-
@@ -154,10 +154,10 @@ events:
Parsed C implicit link information:
link line regex: [^( *|.*[/\\])(ld[0-9]*(\\.[a-z]+)?|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
linker tool regex: [^[ ]*(->|")?[ ]*(([^"]*[/\\])?(ld[0-9]*(\\.[a-z]+)?))("|,| |$)]
ignore line: [Change Dir: '/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-u5mDRT']
ignore line: [Change Dir: '/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-3YXMFN']
ignore line: []
ignore line: [Run Build Command(s): /opt/clion/bin/ninja/linux/x64/ninja -v cmTC_ce807]
ignore line: [[1/2] /usr/bin/cc -fdiagnostics-color=always -v -o CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c]
ignore line: [Run Build Command(s): /opt/clion/bin/ninja/linux/x64/ninja -v cmTC_44766]
ignore line: [[1/2] /usr/bin/cc -fdiagnostics-color=always -v -o CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
ignore line: [Target: x86_64-pc-linux-gnu]
@@ -165,8 +165,8 @@ events:
ignore line: [Thread model: posix]
ignore line: [Supported LTO compression algorithms: zlib zstd]
ignore line: [gcc version 13.2.1 20230801 (GCC) ]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ce807.dir/']
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1 -quiet -v /usr/share/cmake/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_ce807.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -fdiagnostics-color=always -o /tmp/ccYoBDAY.s]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_44766.dir/']
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1 -quiet -v /usr/share/cmake/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_44766.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -fdiagnostics-color=always -o /tmp/ccbFUiBk.s]
ignore line: [GNU C17 (GCC) version 13.2.1 20230801 (x86_64-pc-linux-gnu)]
ignore line: [ compiled by GNU C version 13.2.1 20230801 GMP version 6.3.0 MPFR version 4.2.1 MPC version 1.3.1 isl version isl-0.26-GMP]
ignore line: []
@@ -180,13 +180,13 @@ events:
ignore line: [ /usr/include]
ignore line: [End of search list.]
ignore line: [Compiler executable checksum: eb0b45108af02c02a078961940bce3e9]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ce807.dir/']
ignore line: [ as -v --64 -o CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o /tmp/ccYoBDAY.s]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_44766.dir/']
ignore line: [ as -v --64 -o CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o /tmp/ccbFUiBk.s]
ignore line: [GNU assembler version 2.42.0 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.42.0]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.']
ignore line: [[2/2] : && /usr/bin/cc -v -Wl -v CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o -o cmTC_ce807 && :]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.']
ignore line: [[2/2] : && /usr/bin/cc -v -Wl -v CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o -o cmTC_44766 && :]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper]
@@ -197,13 +197,13 @@ events:
ignore line: [gcc version 13.2.1 20230801 (GCC) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ce807' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_ce807.']
link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc50HofX.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_ce807 /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. -v CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_44766' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_44766.']
link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc7MdfE1.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_44766 /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. -v CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/cc50HofX.res] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/cc7MdfE1.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
@@ -218,7 +218,7 @@ events:
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-o] ==> ignore
arg [cmTC_ce807] ==> ignore
arg [cmTC_44766] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o]
@@ -228,7 +228,7 @@ events:
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../..]
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [--push-state] ==> ignore
arg [--as-needed] ==> ignore
@@ -243,7 +243,7 @@ events:
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
ignore line: [collect2 version 13.2.1 20230801]
ignore line: [/usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc50HofX.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_ce807 /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. -v CMakeFiles/cmTC_ce807.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
ignore line: [/usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc7MdfE1.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_44766 /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. -v CMakeFiles/cmTC_44766.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
linker tool for 'C': /usr/bin/ld
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o] ==> [/usr/lib/Scrt1.o]
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o] ==> [/usr/lib/crti.o]
@@ -278,8 +278,8 @@ events:
checks:
- "Detecting CXX compiler ABI info"
directories:
source: "/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-zr4hsO"
binary: "/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-zr4hsO"
source: "/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-5bmzRC"
binary: "/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-5bmzRC"
cmakeVariables:
CMAKE_CXX_FLAGS: ""
CMAKE_CXX_FLAGS_DEBUG: "-g"
@@ -288,10 +288,10 @@ events:
variable: "CMAKE_CXX_ABI_COMPILED"
cached: true
stdout: |
Change Dir: '/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-zr4hsO'
Change Dir: '/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-5bmzRC'
Run Build Command(s): /opt/clion/bin/ninja/linux/x64/ninja -v cmTC_2b9df
[1/2] /usr/bin/c++ -fdiagnostics-color=always -v -o CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp
Run Build Command(s): /opt/clion/bin/ninja/linux/x64/ninja -v cmTC_ab545
[1/2] /usr/bin/c++ -fdiagnostics-color=always -v -o CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
Target: x86_64-pc-linux-gnu
@@ -299,8 +299,8 @@ events:
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.1 20230801 (GCC)
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_2b9df.dir/'
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_2b9df.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fdiagnostics-color=always -o /tmp/ccuBnSeX.s
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ab545.dir/'
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_ab545.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fdiagnostics-color=always -o /tmp/ccBmrTT1.s
GNU C++17 (GCC) version 13.2.1 20230801 (x86_64-pc-linux-gnu)
compiled by GNU C version 13.2.1 20230801, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP
@@ -317,13 +317,13 @@ events:
/usr/include
End of search list.
Compiler executable checksum: f089b864c6bcbc2427e9850aa6414a11
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_2b9df.dir/'
as -v --64 -o CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccuBnSeX.s
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ab545.dir/'
as -v --64 -o CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccBmrTT1.s
GNU assembler version 2.42.0 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.42.0
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.'
[2/2] : && /usr/bin/c++ -v -Wl,-v CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_2b9df && :
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.'
[2/2] : && /usr/bin/c++ -v -Wl,-v CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_ab545 && :
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper
@@ -334,12 +334,12 @@ events:
gcc version 13.2.1 20230801 (GCC)
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_2b9df' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_2b9df.'
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccf1tc7o.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_2b9df /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. -v CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ab545' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_ab545.'
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc5qaFoq.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_ab545 /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. -v CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o
collect2 version 13.2.1 20230801
/usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccf1tc7o.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_2b9df /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. -v CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o
/usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc5qaFoq.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_ab545 /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. -v CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o
GNU ld (GNU Binutils) 2.42.0
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_2b9df' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_2b9df.'
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ab545' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_ab545.'
exitCode: 0
-
@@ -380,10 +380,10 @@ events:
Parsed CXX implicit link information:
link line regex: [^( *|.*[/\\])(ld[0-9]*(\\.[a-z]+)?|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
linker tool regex: [^[ ]*(->|")?[ ]*(([^"]*[/\\])?(ld[0-9]*(\\.[a-z]+)?))("|,| |$)]
ignore line: [Change Dir: '/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-zr4hsO']
ignore line: [Change Dir: '/home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-5bmzRC']
ignore line: []
ignore line: [Run Build Command(s): /opt/clion/bin/ninja/linux/x64/ninja -v cmTC_2b9df]
ignore line: [[1/2] /usr/bin/c++ -fdiagnostics-color=always -v -o CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Run Build Command(s): /opt/clion/bin/ninja/linux/x64/ninja -v cmTC_ab545]
ignore line: [[1/2] /usr/bin/c++ -fdiagnostics-color=always -v -o CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [Target: x86_64-pc-linux-gnu]
@@ -391,8 +391,8 @@ events:
ignore line: [Thread model: posix]
ignore line: [Supported LTO compression algorithms: zlib zstd]
ignore line: [gcc version 13.2.1 20230801 (GCC) ]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_2b9df.dir/']
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_2b9df.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fdiagnostics-color=always -o /tmp/ccuBnSeX.s]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ab545.dir/']
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_ab545.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fdiagnostics-color=always -o /tmp/ccBmrTT1.s]
ignore line: [GNU C++17 (GCC) version 13.2.1 20230801 (x86_64-pc-linux-gnu)]
ignore line: [ compiled by GNU C version 13.2.1 20230801 GMP version 6.3.0 MPFR version 4.2.1 MPC version 1.3.1 isl version isl-0.26-GMP]
ignore line: []
@@ -409,13 +409,13 @@ events:
ignore line: [ /usr/include]
ignore line: [End of search list.]
ignore line: [Compiler executable checksum: f089b864c6bcbc2427e9850aa6414a11]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_2b9df.dir/']
ignore line: [ as -v --64 -o CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccuBnSeX.s]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ab545.dir/']
ignore line: [ as -v --64 -o CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccBmrTT1.s]
ignore line: [GNU assembler version 2.42.0 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.42.0]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.']
ignore line: [[2/2] : && /usr/bin/c++ -v -Wl -v CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_2b9df && :]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.']
ignore line: [[2/2] : && /usr/bin/c++ -v -Wl -v CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_ab545 && :]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper]
@@ -426,13 +426,13 @@ events:
ignore line: [gcc version 13.2.1 20230801 (GCC) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_2b9df' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_2b9df.']
link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccf1tc7o.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_2b9df /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. -v CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ab545' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_ab545.']
link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc5qaFoq.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_ab545 /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. -v CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccf1tc7o.res] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/cc5qaFoq.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
@@ -447,7 +447,7 @@ events:
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-o] ==> ignore
arg [cmTC_2b9df] ==> ignore
arg [cmTC_ab545] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o]
@@ -457,7 +457,7 @@ events:
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../..]
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lstdc++] ==> lib [stdc++]
arg [-lm] ==> lib [m]
arg [-lgcc_s] ==> lib [gcc_s]
@@ -468,7 +468,7 @@ events:
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
ignore line: [collect2 version 13.2.1 20230801]
ignore line: [/usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccf1tc7o.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_2b9df /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. -v CMakeFiles/cmTC_2b9df.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
ignore line: [/usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc5qaFoq.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_ab545 /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. -v CMakeFiles/cmTC_ab545.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
linker tool for 'CXX': /usr/bin/ld
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o] ==> [/usr/lib/Scrt1.o]
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o] ==> [/usr/lib/crti.o]

View File

@@ -1,4 +1,16 @@
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=/opt/clion/bin/ninja/linux/x64/ninja -G Ninja -S /home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot -B /home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug
-- Configuring done (0.0s)
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to: /home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/cmake-build-debug

View File

@@ -51,13 +51,13 @@ build cmake_object_order_depends_target_lab4-Structures_CalebFontenot: phony ||
build CMakeFiles/lab4-Structures_CalebFontenot.dir/main.cpp.o: CXX_COMPILER__lab4-Structures_CalebFontenot_unscanned_Debug /home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/main.cpp || cmake_object_order_depends_target_lab4-Structures_CalebFontenot
DEP_FILE = CMakeFiles/lab4-Structures_CalebFontenot.dir/main.cpp.o.d
FLAGS = -g -std=gnu++23 -fdiagnostics-color=always
FLAGS = -g -std=gnu++23 -fdiagnostics-color=always -fsanitize=address
OBJECT_DIR = CMakeFiles/lab4-Structures_CalebFontenot.dir
OBJECT_FILE_DIR = CMakeFiles/lab4-Structures_CalebFontenot.dir
build CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o: CXX_COMPILER__lab4-Structures_CalebFontenot_unscanned_Debug /home/caleb/ASDV-Cpp/Assignments/lab4-Structures_CalebFontenot/structures.cpp || cmake_object_order_depends_target_lab4-Structures_CalebFontenot
DEP_FILE = CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o.d
FLAGS = -g -std=gnu++23 -fdiagnostics-color=always
FLAGS = -g -std=gnu++23 -fdiagnostics-color=always -fsanitize=address
OBJECT_DIR = CMakeFiles/lab4-Structures_CalebFontenot.dir
OBJECT_FILE_DIR = CMakeFiles/lab4-Structures_CalebFontenot.dir
@@ -71,6 +71,7 @@ build CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o: CXX_COMPILE
build lab4-Structures_CalebFontenot: CXX_EXECUTABLE_LINKER__lab4-Structures_CalebFontenot_Debug CMakeFiles/lab4-Structures_CalebFontenot.dir/main.cpp.o CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o
FLAGS = -g
LINK_FLAGS = -fsanitize=address
OBJECT_DIR = CMakeFiles/lab4-Structures_CalebFontenot.dir
POST_BUILD = :
PRE_LINK = :

View File

@@ -1,9 +1,24 @@
#include <iostream>
#include <memory>
#import "structures.h"
int main() {
Employee *emp1 = new Employee("Jeff Bezos", 1);
std::cout << emp1->toString();
Employee** employeeArray;
populate(employeeArray, 2, 3);
delete emp1;
int rows = 2;
int col = 2;
Employee **employeeArray = (Employee**) std::calloc(col, sizeof(Employee*)); // Allocate memory for the Employee structs
for (int i = 0; i < col; ++i) {
employeeArray[i] = (Employee*) std::calloc(rows, sizeof(Employee));
}
populate(employeeArray, rows, col);
print(employeeArray, rows, col);
sort(employeeArray, rows, col);
std::printf("After sort:\n");
print(employeeArray, rows, col);
for (int i = 0; i < col; ++i) {
free(employeeArray[i]);
}
free(employeeArray);
return 0;
}

View File

@@ -3,71 +3,106 @@
//
#include <cstring>
#include <iostream>
#include <limits>
#include <algorithm>
#include "structures.h"
Employee::Employee(char * pName, double salary) {
this->pName = pName;
//this->pName = reinterpret_cast<char*>(std::malloc(strlen(pName) * sizeof(char)));
this->pName = strdup( pName);
this->salary = salary;
memset(this->nameOfSpouse, 0, 50);
//this->pAddress = "Not defined!";
//strcpy(this->nameOfSpouse, "Not defined!");
memset(&this->nameOfSpouse, 0, 50);
this->pAddress = nullptr;
strcpy(this->nameOfSpouse, "Not defined!");
}
Employee::Employee(char * pName, char * pAddress, char nameOfSpouse[50], double salary) {
this->pName = new char[strlen(pName) + 1];
this->pAddress = new char[strlen(pAddress) + 1];
strcpy(this->nameOfSpouse, nameOfSpouse); //unsafe!
this->pName = strdup(pName);
this->pAddress = strdup(pAddress);
memcpy(&this->nameOfSpouse, &nameOfSpouse, 50);
this->salary = salary;
}
Employee::~Employee() {
if (this->pName != nullptr) {
delete[] this->pName;
}
if (this->pAddress != nullptr) {
delete[] this->pAddress;
}
free(this->pName);
free(this->pAddress);
}
std::string Employee::toString() {
const char *NOT_DEFINED = "Not defined!";
// Grab variables
char *pAddress;
char nameOfSpouse[50];
if (this->pAddress == nullptr) {
pAddress = const_cast<char*>(NOT_DEFINED);
} else {
pAddress = this->pAddress;
}
if (std::strlen(this->nameOfSpouse) == 0) {
strcpy(nameOfSpouse, NOT_DEFINED); //unsafe!
} else {
strcpy(nameOfSpouse, this->nameOfSpouse); //unsafe!
/* These copy constructors are required in order to be able to use the constructors in populate() */
Employee &Employee::operator=(const Employee &rhs) {
if (rhs.pName != nullptr) {
this->pName = strdup(rhs.pName);
}
pAddress = strdup(rhs.pAddress);
memcpy(&nameOfSpouse, &rhs.nameOfSpouse, 50);
salary = rhs.salary;
return *this;
}
Employee::Employee(const Employee &rhs) { *this = rhs; };
Employee &Employee::operator=(Employee &&rhs) {
free(this->pName);
pName = rhs.pName;
rhs.pName = nullptr;
free(pAddress);
pAddress = rhs.pAddress;
rhs.pAddress = nullptr;
memcpy(&nameOfSpouse, &rhs.nameOfSpouse, 50);
salary = rhs.salary;
return *this;
}
Employee::Employee(Employee &&rhs) { *this = std::move(rhs); }
std::string Employee::toString() {
std::string outputString;
outputString.append("pName: ").append(this->pName).append("\n");
outputString.append("pAddress: ").append(pAddress).append("\n");
outputString.append("nameOfSpouse: ").append(nameOfSpouse).append("\n");
if (this->pAddress != nullptr) {
outputString.append("pAddress: ").append(this->pAddress).append("\n");
}
if (this->nameOfSpouse != nullptr) {
outputString.append("nameOfSpouse: ").append(this->nameOfSpouse).append("\n");
}
outputString.append("salary: ").append(std::to_string(this->salary)).append("\n");
return outputString;
}
bool isValid(std::string name, std::string salaryInput) {
bool isValid = false;
if ((std::atof(salaryInput.c_str()) > 0.0) && name.length() > 0) {
isValid = true;
}
if (!isValid) {
printf("Invalid input! Please try again!\n");
}
return isValid;
}
/** Populates a dynamic 2D array of employees by reading the data from the console.
*
* Note: this is awful and incredibly fragile. the slightest misalignment causes it to corrupt memory and leads to undefined behavior. Using an std::vector would be infinately better, but alas...
* @param pp existing 2D array to be populated.
* @param rows number of rows
* @param col number of columns
*/
void populate(Employee **pp, int rows, int col ) {
std::string name;
std::string name, salaryInput;
double salary;
printf("Populating a %i x %i 2D array... (Total entries required: %i)\n", rows, col, (rows * col));
for (int i = 0; i < rows; ++i) {
for (int j = 0; j < col; ++j) {
printf("Enter a name for the employee at (%i x %i): ", i, j);
std::getline(std::cin, name);
printf("Enter salary for %s: ", name.c_str());
std::cin >> salary;
pp[i][j] = *new Employee(const_cast<char*>(name.c_str()), salary);
do {
printf("Enter a name for the employee at (%i x %i): ", i, j);
std::getline(std::cin, name);
printf("Enter salary for %s: ", name.c_str());
std::getline(std::cin, salaryInput);
} while (!isValid(name, salaryInput));
salary = std::atof(salaryInput.c_str());
char* empName = strdup(name.c_str());
pp[i][j] = Employee(empName, salary);
free(empName);
}
}
}
@@ -79,7 +114,17 @@ void populate(Employee **pp, int rows, int col ) {
* @param rows number of rows
* @param col number of columns
*/
void print(Employee **pp, int rows, int col );
void print(Employee **pp, int rows, int col ) {
const std::string DASHES = "-----------";
int employeeNumber = 0;
for (int i = 0; i < rows; ++i) {
printf("%s Row %i %s\n", DASHES.c_str(), (i + 1), DASHES.c_str());
for(int j = 0; j < col; ++j) {
printf("%s Employee %i %s\n", DASHES.c_str(), ++employeeNumber, DASHES.c_str());
printf("%s", pp[i][j].toString().c_str());
}
}
}
/** Frees all memory occupied by the array.
*
@@ -87,12 +132,26 @@ void print(Employee **pp, int rows, int col );
* @param rows number of rows
* @param col number of columns
*/
void free(Employee **pp, int rows, int col );
void free(Employee **pp, int rows, int col) {
// Iterate over each row
for (int i = 0; i < rows; ++i)
{
//delete the array of Employee pointers
delete[] pp[i];
}
// Delete the array of row pointers
delete[] pp;
}
bool sortByName (const Employee &lhs, const Employee &rhs) { return strcmp(lhs.pName, rhs.pName) < 0;}
/**Sorts the dynamic array in ascending order by name.
*
* @param pp the dynamic array
* @param rows number of rows
* @param col number of columns
*/
void sort(Employee **pp, int rows, int col );
void sort(Employee **pp, int rows, int col ) {
for(int i = 0; i < rows; i++) {
std::sort(&pp[i][0], &pp[i][col], sortByName);
}
}

View File

@@ -13,6 +13,11 @@ struct Employee
Employee( char * pName, double salary);
Employee( char * pName, char * pAddress, char nameOfSpouse[50], double salary);
~Employee();
Employee &operator=(const Employee &rhs);
Employee(const Employee &rhs);
Employee &operator=(Employee &&rhs);
Employee(Employee &&rhs);
char * pName;
char * pAddress;
char nameOfSpouse[50];
@@ -44,7 +49,7 @@ void print(Employee **pp, int rows, int col );
* @param rows number of rows
* @param col number of columns
*/
void free(Employee **pp, int rows, int col );
void free(Employee **pp, int rows, int col);
/**Sorts the dynamic array in ascending order by name.
*