Skip to content

Commit

Permalink
Treat compiler warnings as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
chpock committed May 30, 2024
1 parent 39aa7a3 commit 355507e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Fix multiple memory leaks
* Add feature to build without Tcl commands
* Add support for Tcl 9.0
* Treat compiler warnings as errors

2024-05-29 Konstantin Kushnir <[email protected]>
* Fix a regression when register volume and unregister with vfs::unmount
Expand Down
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -5431,7 +5431,7 @@ printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h



PKG_CFLAGS="$PKG_CFLAGS -Wall -Wextra -pedantic -fno-asynchronous-unwind-tables -ffunction-sections -fdata-sections -fvisibility=hidden"
PKG_CFLAGS="$PKG_CFLAGS -Wall -Wextra -pedantic -Werror -fno-asynchronous-unwind-tables -ffunction-sections -fdata-sections -fvisibility=hidden"



Expand Down
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ TEA_ADD_SOURCES([cookfs.c common.c md5.h bindata.c hashes.c])
TEA_ADD_HEADERS([])
TEA_ADD_INCLUDES([-I\"`${CYGPATH} ${srcdir}/generic`\"])
TEA_ADD_LIBS([])
TEA_ADD_CFLAGS([-Wall -Wextra -pedantic -fno-asynchronous-unwind-tables -ffunction-sections -fdata-sections -fvisibility=hidden])
TEA_ADD_CFLAGS([-Wall -Wextra -pedantic -Werror -fno-asynchronous-unwind-tables -ffunction-sections -fdata-sections -fvisibility=hidden])
TEA_ADD_STUB_SOURCES([])
TEA_ADD_TCL_SOURCES([
scripts/writerchannel.tcl
Expand Down

0 comments on commit 355507e

Please sign in to comment.