Use -std=gnu++0x instead of -std=c++0x

Bluez uses the non standard "typeof" instead of "__typeof__" in bluetooth.h.
Both GCC and Clang reject that with std=c++0x but accept it with gnu++0x.
This commit is contained in:
Pierre Bourdon 2012-03-08 10:01:40 +01:00
parent 63176ba38d
commit b69a1d225a
1 changed files with 1 additions and 1 deletions

View File

@ -552,7 +552,7 @@ option(UNITTESTS "Build unitests" OFF)
########################################
# Start compiling our code
#
add_definitions(-std=c++0x)
add_definitions(-std=gnu++0x)
add_subdirectory(Source)