Qcloud1223 / ics-ld-public

Course project for Introduction to Computer Systems at XJTU: A basic x86-64 static linker.
4 stars 3 forks source link

Add compile_options in CMakeLists.txt and fix all warnings #2

Closed ccczzc closed 6 months ago

ccczzc commented 6 months ago
  1. Add -Wall -Wextra -Werror compile options to detect potential issues and treat warnings as errors during the build process.

  2. Fix all existing warnings: modify main.cc and util.cc.