Skip to content

Commit

Permalink
merge ex13 into ex14
Browse files Browse the repository at this point in the history
  • Loading branch information
Rconybea committed Feb 13, 2024
2 parents 0820712 + 8f03d4d commit d079a78
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ message("-- CMAKE_CXX_STANDARD: c++ standard level is [${CMAKE_CXX_STANDARD}]")
set(CMAKE_CXX_STANDARD_REQUIRED True)

if (NOT DEFINED PROJECT_CXX_FLAGS)
set(PROJECT_CXX_FLAGS -Werror -Wall -Wextra -fno-strict-aliasing CACHE STRING "project c++ compiler flags")
set(PROJECT_CXX_FLAGS -Werror -Wall -Wextra -Wold-style-cast -Wstrict-aliasing -fno-strict-aliasing CACHE STRING "project c++ compiler flags")
endif()
message("-- PROJECT_CXX_FLAGS: project c++ flags are [${PROJECT_CXX_FLAGS}]")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Example
*
* ifstream ucfs("path/to/uncompressedfile");
* buffered_deflate_zstream<char> zs;
* buffered_deflate_zstream zs;
* ofstream zfs("path/to/compressedfile.z", ios::binary);
*
* if (!ucfs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* Example
*
* ifstream zfs("path/to/compressedfile.z", ios::binary);
* buffered_inflate_zstream<char> zs;
* buffered_inflate_zstream zs;
* ofstream ucfs("path/to/uncompressedfile");
*
* while (!zfs.eof()) {
Expand Down

0 comments on commit d079a78

Please sign in to comment.