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:
@@ -1,5 +1,8 @@
|
|||||||
SubDir HAIKU_TOP src apps haikudepot ;
|
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
|
include [ FDirName $(HAIKU_TOP) src apps haikudepot build jam
|
||||||
HdsSchemaGenRules ] ;
|
HdsSchemaGenRules ] ;
|
||||||
|
|
||||||
@@ -314,4 +317,4 @@ Depends [ FGristFiles $(applicationSources:S=.o) ]
|
|||||||
[ FGristFiles $(generatedRepositoryModelSourceFiles:S=.h) ]
|
[ FGristFiles $(generatedRepositoryModelSourceFiles:S=.h) ]
|
||||||
[ FGristFiles $(generatedReferenceParserSourceFiles:S=.h) ]
|
[ FGristFiles $(generatedReferenceParserSourceFiles:S=.h) ]
|
||||||
[ FGristFiles $(generatedReferenceModelSourceFiles:S=.h) ]
|
[ FGristFiles $(generatedReferenceModelSourceFiles:S=.h) ]
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
SubDir HAIKU_TOP src apps poorman ;
|
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 ] ;
|
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 ] ;
|
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src apps poorman libhttpd ] ;
|
||||||
@@ -42,20 +45,20 @@ Application PoorMan : PoorMan.cpp
|
|||||||
PoorManSiteView.cpp
|
PoorManSiteView.cpp
|
||||||
PoorManLogger.cpp
|
PoorManLogger.cpp
|
||||||
PoorManLoggingView.cpp
|
PoorManLoggingView.cpp
|
||||||
PoorManPreferencesWindow.cpp
|
PoorManPreferencesWindow.cpp
|
||||||
PoorManApplication.cpp
|
PoorManApplication.cpp
|
||||||
constants.cpp
|
constants.cpp
|
||||||
|
|
||||||
# libhttpd
|
# libhttpd
|
||||||
libhttpd.c
|
libhttpd.c
|
||||||
match.c
|
match.c
|
||||||
tdate_parse.c
|
tdate_parse.c
|
||||||
|
|
||||||
: be network tracker [ TargetLibstdc++ ] localestub
|
: be network tracker [ TargetLibstdc++ ] localestub
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
DoCatalogs PoorMan :
|
DoCatalogs PoorMan :
|
||||||
x-vnd.Haiku-PoorMan
|
x-vnd.Haiku-PoorMan
|
||||||
:
|
:
|
||||||
constants.cpp
|
constants.cpp
|
||||||
|
|||||||
Reference in New Issue
Block a user