diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2023-11-20 08:49:43 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2023-11-20 08:49:43 -0500 |
commit | 601681d88387dddda70db8601a98cb89edea1d78 (patch) | |
tree | 2868f12cd952090d62600def59a1e512522b3495 /src/CMakeLists.txt | |
parent | b9576b9bddc5887d912643f7822d13df7140c84a (diff) | |
download | stasis-601681d88387dddda70db8601a98cb89edea1d78.tar.gz |
Implements slightly improved error handling
* Return status from conda_ and delivery_ functions
* Caller prints meaningful error, and handles it
* Enable warnings during compilation
* Squelch format-truncation warning -- those strings are extremely unlikely to overflow (famous last words)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8f996f2..e22e749 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,6 @@ include_directories(${CMAKE_SOURCE_DIR}/include) include_directories(${PROJECT_BINARY_DIR}) +add_compile_options(-Wall -Wextra -Wno-format-truncation) add_executable(omc main.c str.c |