Closed filasieno closed 2 days ago
The changes in this pull request include the addition of a comprehensive .gitignore
file that specifies various file patterns and directories to be ignored by Git. Modifications to the CMakeLists.txt
file enforce the presence of Flex and Bison tools, enhancing the build configuration. Additionally, the mem/mem0mem.cc
file has been updated to ensure proper initialization of a variable within the mem_heap_create_block
function, improving the integrity of memory handling.
File | Change Summary |
---|---|
.gitignore | Added rules to ignore build directories, IDE-specific files, OS-specific files, logs, and generated files. |
CMakeLists.txt | Updated to require Flex and Bison, added debug output, and included checks for Flex include directory. |
mem/mem0mem.cc | Modified buf_block initialization in mem_heap_create_block function to ensure it starts from a known state. |
In the code where bunnies hop,
A.gitignore
makes clutter stop.
Flex and Bison, now a must,
With proper checks, we build with trust.
Memory's safe, no bugs to see,
Hooray for changes, hop with glee! 🐇✨
Add common ignores to a gitignore. Add FlexLexer.h search; under NixOS couldn't get it to build without the search. To get the build done
buf_block
must be initialized otherwise a code path will assign using an uninitialized variable.Summary by CodeRabbit
Chores
.gitignore
file to streamline version control by excluding unnecessary files and directories.Build Configuration
Bug Fixes