[LLVMdev] Warnings on Unittests

Renato Golin renato.golin at linaro.org
Thu Jan 30 09:23:58 PST 2014


Hi folks,

I'm using gcc 4.8.1 and I'm getting these warnings on every googletest file:

src/llvm/utils/unittest/googletest/include/gtest/gtest-typed-test.h:239:47:
warning: anonymous variadic macros were introduced in C99
[-Wvariadic-macros]
 # define REGISTER_TYPED_TEST_CASE_P(CaseName, ...) \
                                               ^
It seems a gtest infrastructure file, so maybe we should just ignore that
warning on the unittest directory?

--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140130/213ebc4c/attachment.html>


More information about the llvm-dev mailing list