Skip to content
Browse files

Now using C++11 and C++11 compatible stl.

  • Loading branch information...
1 parent fe449cc commit 1cc3bfc88d33500b62e062ed6eacba4afbeba125 @grahamboree committed
Showing with 5 additions and 2 deletions.
  1. +4 −2 cppimage.xcodeproj/project.pbxproj
  2. +1 −0 cppimage_tests/main.cpp
View
6 cppimage.xcodeproj/project.pbxproj
@@ -528,7 +528,8 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
- CLANG_CXX_LANGUAGE_STANDARD = "compiler-default";
+ CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
+ CLANG_CXX_LIBRARY = "libc++";
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES;
CLANG_WARN_OBJCPP_ARC_ABI = YES;
@@ -583,7 +584,8 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
- CLANG_CXX_LANGUAGE_STANDARD = "compiler-default";
+ CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
+ CLANG_CXX_LIBRARY = "libc++";
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES;
CLANG_WARN_OBJCPP_ARC_ABI = YES;
View
1 cppimage_tests/main.cpp
@@ -8,6 +8,7 @@
// STL
#include <iostream>
+#include <memory>
// Test framework
#include "cpptest.h"

0 comments on commit 1cc3bfc

Please sign in to comment.
Something went wrong with that request. Please try again.