chrsmithdemos / leveldb

Automatically exported from code.google.com/p/leveldb
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Compilation of IOS platform fails when using clang #114

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. execute: make PLATFORM=IOS CC="clang" CXX=clang++

What is the expected output? What do you see instead?
Expected: Library compiles.
Actual: Compilation fails

What version of the product are you using? On what operating system?
Latest leveldb from git master. Xcode 4.4.1.

Please provide any additional information below.
Clang for the iPhone Simulator is located in /usr/bin/, but the make file looks 
for it under $SIMULATORROOT. Pointing the makefile rule for the simulator to 
/usr/bin/clang++ fixes the compilation.

Original issue reported on code.google.com by alexkarp...@gmail.com on 9 Sep 2012 at 8:38

GoogleCodeExporter commented 9 years ago
Fixed in 1.6.0.  But this wasn't tested, so confirmation that it worked for you 
will be useful.

Original comment by san...@google.com on 12 Oct 2012 at 7:58