HaikuDepot & PoorMan: Disable -Werror.

Unlike the last commit, I am not sure whether the memcpy/memsets
in here are properly safe to do. (They look OK, but a lot of them
involve template classes that probably should not make such
assumptions.)

But the code has worked so far, so let's disable the -Werror so
we can move forward with GCC 8 for now.
This commit is contained in:
Augustin Cavalier
2019-05-24 14:23:12 -04:00
parent 1705656eac
commit 5b189b0e1e
2 changed files with 11 additions and 5 deletions
+3
View File
@@ -1,5 +1,8 @@
SubDir HAIKU_TOP src apps haikudepot ;
# disable -Werror for this directory only
SubDirC++Flags -Wno-error ;
include [ FDirName $(HAIKU_TOP) src apps haikudepot build jam
HdsSchemaGenRules ] ;
+3
View File
@@ -1,5 +1,8 @@
SubDir HAIKU_TOP src apps poorman ;
# disable -Werror for this directory only
SubDirCcFlags -Wno-error ;
SubDirCcFlags [ FDefines HAVE__PROGNAME=1 HAVE_FCNTL_H=1 HAVE_GRP_H=1 HAVE_MEMORY_H=1 HAVE_POLL_H=1 HAVE_SYS_POLL_H=1 TIME_WITH_SYS_TIME=1 HAVE_DIRENT_H=1 HAVE_STRERROR=1 HAVE_WAITPID=1 HAVE_VSNPRINTF=1 HAVE_SETSID=1 HAVE_SIGSET=1 HAVE_ATOLL=1 HAVE_UNISTD_H=1 HAVE_GETPAGESIZE=1 HAVE_MMAP=1 HAVE_SELECT=1 HAVE_POLL=1 HAVE_TM_GMTOFF=1 HAVE_SOCKLENT=1 HAVE_INT64T=1 ] ;
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src apps poorman libhttpd ] ;