Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Wget
wget2
Commits
ad037396
Commit
ad037396
authored
Aug 30, 2019
by
Tim Rühsen
🛠
Browse files
Only use clang's Nullability feature with enabled manywarnings
parent
d543db81
Pipeline
#79367448
passed with stages
in 35 minutes and 20 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
configure.ac
configure.ac
+1
-0
include/wget/wget.h
include/wget/wget.h
+1
-1
libwget/Makefile.am
libwget/Makefile.am
+1
-1
No files found.
configure.ac
View file @
ad037396
...
...
@@ -208,6 +208,7 @@ if test -n "$WARN_CFLAGS"; then
# wget_WORD_REMOVE([GNULIB_WARN_CFLAGS], [$GNULIB_WARN_CFLAGS], [$CFLAGS])
fi
AC_SUBST([MANYWARNINGS], [-DWGET_MANYWARNINGS])
AC_SUBST([WARN_CFLAGS])
AC_SUBST([GNULIB_WARN_CFLAGS])
fi
...
...
include/wget/wget.h
View file @
ad037396
...
...
@@ -191,7 +191,7 @@
# define NULLABLE
#else
# define RETURNS_NONNULL
# if defined __clang_major__
# if defined __clang_major__
&& defined WGET_MANYWARNINGS
# define NULLABLE _Nullable
# else
# define NULLABLE
...
...
libwget/Makefile.am
View file @
ad037396
AM_CFLAGS
=
$(WERROR_CFLAGS)
$(WARN_CFLAGS)
$(CODE_COVERAGE_CFLAGS)
-DBUILDING_LIBWGET
AM_CFLAGS
=
$(WERROR_CFLAGS)
$(WARN_CFLAGS)
$(CODE_COVERAGE_CFLAGS)
$(MANYWARNINGS)
-DBUILDING_LIBWGET
lib_LTLIBRARIES
=
libwget.la
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment