remove annoying warnings provoked by echo headers

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12223 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Andrew Bachmann 2005-04-02 23:56:22 +00:00
parent 1f13471244
commit 1c7379cd43
2 changed files with 12 additions and 8 deletions

View File

@ -8,10 +8,8 @@ SubDirHdrs $(OBOS_TOP) src add-ons kernel drivers audio echo generic ASIC ;
UsePrivateHeaders [ FDirName kernel ] ; # For kernel_cpp.cpp
# set some additional defines
{
SubDirCcFlags -DECHO_BEOS -DECHO24_FAMILY ;
SubDirC++Flags -DECHO_BEOS -DECHO24_FAMILY -fno-rtti ;
}
SubDirCcFlags -DECHO_BEOS -DECHO24_FAMILY ;
SubDirC++Flags -DECHO_BEOS -DECHO24_FAMILY -fno-rtti ;
local echo_files =
C3g.cpp
@ -54,6 +52,10 @@ R5KernelAddon echo24 : kernel drivers bin :
OsSupportBeOS.cpp
;
# suppress warnings on some files including the echo headers which provoke ugly warnings
ObjectC++Flags $(echo_files) : -w ;
ObjectC++Flags echo.cpp : -w ;
SEARCH on [ FGristFiles
$(echo_files)
OsSupportBeOS.cpp

View File

@ -8,10 +8,8 @@ SubDirHdrs $(OBOS_TOP) src add-ons kernel drivers audio echo generic ASIC ;
UsePrivateHeaders [ FDirName kernel ] ; # For kernel_cpp.cpp
# set some additional defines
{
SubDirCcFlags -DECHO_BEOS -DECHOGALS_FAMILY ;
SubDirC++Flags -DECHO_BEOS -DECHOGALS_FAMILY -fno-rtti ;
}
SubDirCcFlags -DECHO_BEOS -DECHOGALS_FAMILY ;
SubDirC++Flags -DECHO_BEOS -DECHOGALS_FAMILY -fno-rtti ;
local echo_files =
CChannelMask.cpp
@ -50,6 +48,10 @@ R5KernelAddon echogals : kernel drivers bin :
OsSupportBeOS.cpp
;
# suppress warnings on some files including the echo headers which provoke ugly warnings
ObjectC++Flags $(echo_files) : -w ;
ObjectC++Flags echo.cpp : -w ;
SEARCH on [ FGristFiles
$(echo_files)
OsSupportBeOS.cpp