Index: solenv/inc/unxlngs.mk =================================================================== RCS file: /cvs/tools/solenv/inc/unxlngs.mk,v retrieving revision 1.18 diff -u -r1.18 unxlngs.mk --- solenv/inc/unxlngs.mk 19 Jun 2006 17:15:54 -0000 1.18 +++ solenv/inc/unxlngs.mk 7 Jul 2006 10:44:11 -0000 @@ -119,15 +119,47 @@ # Compiler flags for describing the output path CFLAGSOUTOBJ=-o -CFLAGSWARNCC=-Wreturn-type -.IF "$(PRODUCT)"!="" -CFLAGWARNCC+=-Wuninitialized # not supported without optimization -.ENDIF -CFLAGSWARNCXX=$(CFLAGSWARNCC) -Wno-ctor-dtor-privacy # -Wshadow does not work for C with nested uses of pthread_cleanup_push: -CFLAGSWALLCC=-Wall -Wextra -Wendif-labels -CFLAGSWALLCXX=$(CFLAGSWALLCC) -Wshadow -Wno-ctor-dtor-privacy +CFLAGSWARNCC=-Wall -Wextra -Wendif-labels +CFLAGSWARNCXX=$(CFLAGSWALLCC) -Wshadow -Wno-ctor-dtor-privacy \ + -Wno-non-virtual-dtor-privacy +CFLAGSWALLCC=$(CFLAGSWARNCC) +CFLAGSWALLCXX=$(CFLAGSWARNCXX) CFLAGSWERRCC=-Werror + +# Once all modules on this platform compile without warnings, set +# COMPILER_WARN_ERRORS=TRUE here instead of setting MODULES_WITH_W +# settings.mk): +MODULES_WITH_WARNINGS := \ + b_server \ + basctl \ + binfilter \ + chart2 \ + cppcanvas \ + desktop \ + devtools \ + dxcanvas \ + extensions \ + filter \ + finalize \ + glcanvas \ + instset_native \ + instsetoo_native \ + lingu \ + postprocess \ + r_tools \ + sc \ + sch \ + sd \ + slideshow \ + smoketest_native \ + smoketestoo_native \ + starmath \ + svx \ + sw \ + top \ + writerperfect \ + xmlsecurity # switches for dynamic and static linking STATIC = -Wl,-Bstatic