fixed some warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18911 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0de38aa00b
commit
c4cc0591f1
|
@ -10,9 +10,9 @@
|
||||||
//#define _BUILDING_CANNALIB
|
//#define _BUILDING_CANNALIB
|
||||||
|
|
||||||
#ifdef _BUILDING_CANNALIB
|
#ifdef _BUILDING_CANNALIB
|
||||||
#define canna_export __declspec(dllexport)
|
#define canna_export // __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define canna_export __declspec(dllimport)
|
#define canna_export // __declspec(dllimport)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // CANNABUILD_H
|
#endif // CANNABUILD_H
|
||||||
|
|
|
@ -2,6 +2,10 @@ SubDir HAIKU_TOP src add-ons input_server methods canna lib ;
|
||||||
|
|
||||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||||
|
|
||||||
|
# filter warnings we don't want here
|
||||||
|
TARGET_WARNING_CCFLAGS = [ FFilter $(TARGET_WARNING_CCFLAGS)
|
||||||
|
: -Wmissing-prototypes ] ;
|
||||||
|
|
||||||
SubDirCcFlags -x c++ -ansi -trigraphs -funsigned-char -funsigned-bitfields -w -Wno-multichar -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -Woverloaded-virtual -D_BUILDING_CANNALIB -D_WCHAR_T ;
|
SubDirCcFlags -x c++ -ansi -trigraphs -funsigned-char -funsigned-bitfields -w -Wno-multichar -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -Woverloaded-virtual -D_BUILDING_CANNALIB -D_WCHAR_T ;
|
||||||
|
|
||||||
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) canna ] ;
|
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) canna ] ;
|
||||||
|
|
|
@ -2,6 +2,10 @@ SubDir HAIKU_TOP src add-ons input_server methods canna rk ;
|
||||||
|
|
||||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||||
|
|
||||||
|
# filter warnings we don't want here
|
||||||
|
TARGET_WARNING_CCFLAGS = [ FFilter $(TARGET_WARNING_CCFLAGS)
|
||||||
|
: -Wmissing-prototypes ] ;
|
||||||
|
|
||||||
SubDirCcFlags -x c++ -ansi -trigraphs -funsigned-char -funsigned-bitfields -w -Wno-multichar -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -Woverloaded-virtual -D_BUILDING_CANNALIB -D_WCHAR_T ;
|
SubDirCcFlags -x c++ -ansi -trigraphs -funsigned-char -funsigned-bitfields -w -Wno-multichar -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -Woverloaded-virtual -D_BUILDING_CANNALIB -D_WCHAR_T ;
|
||||||
|
|
||||||
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) canna ] ;
|
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) canna ] ;
|
||||||
|
|
Loading…
Reference in New Issue