According to CHANGES file, the warning level was raised to -Wextra in 2.2 update 3 (20100310) but it seems this only happen for tbb tests, not for libraries build or tbbmalloc tests.
Analyzing the warning levels in the last version (4.0 update 2 AKA 20111130) the warning levels are different for each target:
Apparently the differences are not intentional, so I submitted two small patches to raise the levels in tbb library and tbbmalloc tests, to be more similar with the ones in tbb tests.
Those patches are tested to remove all warnings on macos with compiler=gcc/clang and arch=ia32/intel64 with the default defines, of course it can be other warnings with different os/compiler/configuration.
With the patches applied the warning levels (macosx gcc/clang) are:
The warning level for tbbmalloc library build is intentional according to Makefile.tbbmalloc.
Hope it helps
Yeah, sorry for that :) I really just wanted to illustrate my point of view, and not open a discussion that could easy turn into a holy war :)
It's all about personal preferences and habits; and we know these are not easy to change. I recently read a book about language evolution (Russian, in that case), and there was a viewpoint expressed that any language changes, and more so official ones, first of all make literate people feel not confortable, and often annoyed, because they have to spent more mental effort to read and write in accordance to the new rules. By the way, it is no different from feeling uncomfortable by somebody's illiteracy :). And soon after, I realized that compiler warnings, especiallysome very misguided ones,make me annoyed for very much the same reason - I need to change my habits of reading and writing the code in order to meet the new language rules. The fact that essentially each compiler insists on its own language dialect, and I need to please them all, only exacerbates all that. Time and practice is needed to become comfortable with thechanged rules, be it reading/writing or programming. As a "spelling&grammar fiend", perhaps you understand what I mean :)