Thu, 22 Jun 2017 21:56:44 -0400
Actually apply deprecation flags.
| meson.build | file | annotate | diff | comparison | revisions |
--- a/meson.build Thu Jun 22 21:55:07 2017 -0400 +++ b/meson.build Thu Jun 22 21:56:44 2017 -0400 @@ -1010,7 +1010,12 @@ compiler.has_function('uname')) -DEBUG_CFLAGS = '-DPURPLE_DISABLE_DEPRECATED -DPIDGIN_DISABLE_DEPRECATED -DFINCH_DISABLE_DEPRECATED -DGNT_DISABLE_DEPRECATED' +add_project_arguments( + '-DPURPLE_DISABLE_DEPRECATED', + '-DPIDGIN_DISABLE_DEPRECATED', + '-DFINCH_DISABLE_DEPRECATED', + '-DGNT_DISABLE_DEPRECATED', + language : 'c') if compiler.get_id() == 'gcc' # We enable -Wall later. # If it's set after the warning CFLAGS in the compiler invocation, it counteracts the -Wno... flags.