utest: remove -w and -fpermissive flags 50/160650/2
authorKonstantin Drabeniuk <k.drabeniuk@samsung.com>
Fri, 17 Nov 2017 09:02:18 +0000 (11:02 +0200)
committerKonstantin Drabeniuk <k.drabeniuk@samsung.com>
Fri, 17 Nov 2017 09:29:36 +0000 (11:29 +0200)
Change-Id: If986b754789b726d5af69a47af4d909447aea0fc
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
utests/Makefile.am

index 1a74327..1f4ca95 100644 (file)
@@ -11,12 +11,7 @@ tbm_utests_SOURCES = \
 tbm_utests_CXXFLAGS = \
        ${CXXFLAGS} \
        -I$(top_builddir)/src \
-       -I$(includedir)/gtest \
-       -fpermissive \
-       -w
-# The flag -w is used, because there are many warnings in libtbm's sources.
-# Warnings occur because we build project with g++.
-# In C++ we need to use explicit types conversion.
+       -I$(includedir)/gtest
 
 tbm_utests_LDFLAGS = \
        ${LDFLAGS} \