diff --git a/CHANGELOG.md b/CHANGELOG.md index 139637b8b..5af784057 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ + * Add `-stdlib=libc++` option to iOS properties, required by `clang++` to support C++11 ([pull #221](https://github.com/bytedeco/javacpp/pull/221)) * Make it possible to define read-only containers with `Parser` by prepending `const ` ([issue #223](https://github.com/bytedeco/javacpp/issues/223)) * Fix `Parser` failure of variable or function declarations on names starting with `::` * Access elements of basic containers defined in `Parser` with `at()` instead of `operator[]` ([issue #223](https://github.com/bytedeco/javacpp/issues/223)) diff --git a/src/main/resources/org/bytedeco/javacpp/properties/ios-arm.properties b/src/main/resources/org/bytedeco/javacpp/properties/ios-arm.properties index f54fda674..a1393a104 100644 --- a/src/main/resources/org/bytedeco/javacpp/properties/ios-arm.properties +++ b/src/main/resources/org/bytedeco/javacpp/properties/ios-arm.properties @@ -14,7 +14,7 @@ platform.compiler.fastfpu=-ffast-math platform.compiler.nodeprecated=-Wno-deprecated-declarations platform.compiler.noexceptions=-fno-exceptions -fno-rtti platform.compiler.nowarnings=-w -platform.compiler.output=-arch armv6 -arch armv7 -Wall -fPIC -miphoneos-version-min=5.0 -c -o\u0020 +platform.compiler.output=-arch armv7 -stdlib=libc++ -Wall -fPIC -miphoneos-version-min=5.0 -c -o\u0020 platform.linkpath.prefix=-L platform.linkpath= platform.link.prefix=-l diff --git a/src/main/resources/org/bytedeco/javacpp/properties/ios-arm64.properties b/src/main/resources/org/bytedeco/javacpp/properties/ios-arm64.properties index 0c4104f95..a349536ad 100644 --- a/src/main/resources/org/bytedeco/javacpp/properties/ios-arm64.properties +++ b/src/main/resources/org/bytedeco/javacpp/properties/ios-arm64.properties @@ -14,7 +14,7 @@ platform.compiler.fastfpu=-ffast-math platform.compiler.nodeprecated=-Wno-deprecated-declarations platform.compiler.noexceptions=-fno-exceptions -fno-rtti platform.compiler.nowarnings=-w -platform.compiler.output=-arch arm64 -Wall -fPIC -miphoneos-version-min=5.0 -c -o\u0020 +platform.compiler.output=-arch arm64 -stdlib=libc++ -Wall -fPIC -miphoneos-version-min=5.0 -c -o\u0020 platform.linkpath.prefix=-L platform.linkpath= platform.link.prefix=-l diff --git a/src/main/resources/org/bytedeco/javacpp/properties/ios-x86.properties b/src/main/resources/org/bytedeco/javacpp/properties/ios-x86.properties index 530a06ecb..19c2d1bb1 100644 --- a/src/main/resources/org/bytedeco/javacpp/properties/ios-x86.properties +++ b/src/main/resources/org/bytedeco/javacpp/properties/ios-x86.properties @@ -14,7 +14,7 @@ platform.compiler.fastfpu=-msse3 -ffast-math -mfpmath=sse platform.compiler.nodeprecated=-Wno-deprecated-declarations platform.compiler.noexceptions=-fno-exceptions -fno-rtti platform.compiler.nowarnings=-w -platform.compiler.output=-arch i686 -Wall -fPIC -mios-simulator-version-min=5.0 -c -o\u0020 +platform.compiler.output=-arch i686 -stdlib=libc++ -Wall -fPIC -mios-simulator-version-min=5.0 -c -o\u0020 platform.linkpath.prefix=-L platform.linkpath= platform.link.prefix=-l diff --git a/src/main/resources/org/bytedeco/javacpp/properties/ios-x86_64.properties b/src/main/resources/org/bytedeco/javacpp/properties/ios-x86_64.properties index 8b93e3ef7..38e2b4001 100644 --- a/src/main/resources/org/bytedeco/javacpp/properties/ios-x86_64.properties +++ b/src/main/resources/org/bytedeco/javacpp/properties/ios-x86_64.properties @@ -14,7 +14,7 @@ platform.compiler.fastfpu=-msse3 -ffast-math -mfpmath=sse platform.compiler.nodeprecated=-Wno-deprecated-declarations platform.compiler.noexceptions=-fno-exceptions -fno-rtti platform.compiler.nowarnings=-w -platform.compiler.output=-arch x86_64 -Wall -fPIC -mios-simulator-version-min=5.0 -c -o\u0020 +platform.compiler.output=-arch x86_64 -stdlib=libc++ -Wall -fPIC -mios-simulator-version-min=5.0 -c -o\u0020 platform.linkpath.prefix=-L platform.linkpath= platform.link.prefix=-l