Uncodin / bypass

Skip the HTML, Bypass takes markdown and renders it directly on Android and iOS.
http://uncodin.github.com/bypass/
Apache License 2.0
1.52k stars 193 forks source link

Error compiling array.c in libsoldout #154

Open mnshah opened 10 years ago

mnshah commented 10 years ago

My setup: Macbook Pro running OS X Mavericks 10.9.2 Xcode 5.1.1 Boost 1.55.0 (installed via Homebrew)

I worked through a lot of the other build problems others reported (took me a while to get the header search paths correct. But, then i hit compile errors related to the actual boost dep.

I get 7 errors when trying to compile array.c:

/Users/manish/projects/bypass/dep/libsoldout/array.c:46:12: error: assigning to 'void *' from incompatible type 'void '; take the address with & arr->item = neo; ^ ~~~ & /Users/manish/projects/bypass/dep/libsoldout/array.c:96:7: error: assigning to 'char ' from incompatible type 'void ' src = arr->base; ^ ~~~~~ /Users/manish/projects/bypass/dep/libsoldout/array.c:110:6: error: assigning to 'char ' from incompatible type 'void ' ptr = arr->base; ^ ~~~~~ /Users/manish/projects/bypass/dep/libsoldout/array.c:129:9: error: cannot initialize a variable of type 'char ' with an lvalue of type 'void ' char dst = arr->base; ^ ~~~~~ /Users/manish/projects/bypass/dep/libsoldout/array.c:140:8: error: cannot initialize a variable of type 'char ' with an lvalue of type 'void ' char ptr = arr->base; ^ ~~~~~ /Users/manish/projects/bypass/dep/libsoldout/array.c:157:8: error: cannot initialize a variable of type 'char ' with an lvalue of type 'void ' char ptr = arr->base; ^ ~~~~~ /Users/manish/projects/bypass/dep/libsoldout/array.c:218:7: error: assigning to 'char ' from incompatible type 'void ' src = (void )parr->item; ^ ~~~~~~ 7 errors generated.