Skip to content

Commit

Permalink
fix linux build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
d99kris committed Jul 1, 2023
1 parent 19d46d8 commit c0092c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
project(heapusage VERSION 1.0 LANGUAGES C CXX)
set(COMMON_FLAGS "-funwind-tables -g -Wall -Wextra -Wpedantic -Wshadow -Wpointer-arith \
-Wcast-qual -Wno-missing-braces -Wswitch-default -Wcast-align \
-Wunreachable-code -Wuninitialized")
-Wunreachable-code -Wuninitialized -Wno-stringop-overflow")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 ${COMMON_FLAGS} -Wstrict-prototypes \
-Wmissing-prototypes")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMMON_FLAGS}")
Expand Down
6 changes: 3 additions & 3 deletions src/heapusage
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

# Copyright (C) 2017-2022 Kristofer Berggren
# Copyright (C) 2017-2023 Kristofer Berggren
# All rights reserved.
#
# heapusage is distributed under the BSD 3-Clause license, see LICENSE for details.
Expand Down Expand Up @@ -46,9 +46,9 @@ showusage()

showversion()
{
echo "heapusage v2.06"
echo "heapusage v2.07"
echo ""
echo "Copyright (C) 2017-2022 Kristofer Berggren"
echo "Copyright (C) 2017-2023 Kristofer Berggren"
echo ""
echo "heapusage is distributed under the BSD 3-Clause license."
echo ""
Expand Down
4 changes: 2 additions & 2 deletions src/heapusage.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
.TH HEAPUSAGE "1" "December 2022" "heapusage v2.06" "User Commands"
.TH HEAPUSAGE "1" "June 2023" "heapusage v2.07" "User Commands"
.SH NAME
heapusage \- find memory leaks in applications
.SH SYNOPSIS
Expand Down Expand Up @@ -72,6 +72,6 @@ Written by Kristofer Berggren
.SH "REPORTING BUGS"
Report bugs at https://github.com/d99kris/heapusage
.SH COPYRIGHT
Copyright \(co 2017\-2022 Kristofer Berggren
Copyright \(co 2017\-2023 Kristofer Berggren
.PP
heapusage is distributed under the BSD 3\-Clause license.

0 comments on commit c0092c7

Please sign in to comment.