]> granicus.if.org Git - libevent/commit
cmake: sync warnings with autotools v2
authorAzat Khuzhin <azat@libevent.org>
Tue, 12 Mar 2019 21:02:39 +0000 (00:02 +0300)
committerAzat Khuzhin <azat@libevent.org>
Tue, 12 Mar 2019 21:21:38 +0000 (00:21 +0300)
commit42d5a36bd8076c137545759d34500401627a649b
tree608884f3c403be1de9d1cf9ab60e06f4fb8ad747
parent42cc731b1ab19dd84b217127ba62aa97f2bd899f
cmake: sync warnings with autotools v2

By some reason gcc reports next error:
  ../http.c:3330:11: warning: assignment discards â€˜const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
       value = "";

Only under -Wwrite-strings, well this is logical, but this information
does not reflected in any documentation.

Follow-up: 8348b413 ("cmake: add various warning flags like autotools has")

f
CMakeLists.txt