Skip to content

Commit

Permalink
Silence the infintite recursion warning
Browse files Browse the repository at this point in the history
It's tail recursion, so it should be fine.
  • Loading branch information
chewi committed Jun 23, 2023
1 parent 5bba83d commit c67a69b
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@ threads = dependency('threads')
executable(
'mpd-ynca',
'mpd-ynca.cpp',
cpp_args : '-DSYSCONFDIR=' + get_option('sysconfdir'),
dependencies : [boost, mpd, threads],
install : true
install : true,
cpp_args : [
'-DSYSCONFDIR=' + get_option('sysconfdir'),
'-Wno-infinite-recursion',
],
dependencies : [
boost,
mpd,
threads
]
)

install_data(
Expand Down

0 comments on commit c67a69b

Please sign in to comment.