-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling fails (v0.3.0) #11
Comments
Hi, |
Hello, am at process of fixing your ears lib according Rust 1.0 standart. I already fixed all compilation errors (there was hundreds of that) and now at process of fixing runtime problems. I can do "pull request" after I finished or now at process of fixing as you wish. |
Fixed version of ears you can find at fork https://github.com/rjdgtn/ears |
I've fixed some bugs and set up CI for ears: https://github.com/jhasse/ears @jeremyletang Hope it's okay I've also added ears to crates.io. Do you want to continue working on ears atm? If not, would you be willing to deprecate this repro and point to mine? |
Compiling fails with:
$ cargo build [17:05:34]
Compiling ears v0.3.0 (file:///tmp/ears)
src/internal.rs:36:100: 36:101 error: macros that expand to items must either be surrounded with braces or followed by a semicolon
src/internal.rs:36 thread_local!(static AL_CONTEXT: RefCell<Box> = RefCell::new(box OpenAlData::default()))
^
src/internal.rs:192:1: 192:2 error: macros that expand to items must either be surrounded with braces or followed by a semicolon
src/internal.rs:192 )
^
src/init.rs:104:15: 104:19 error:
proc
is a reserved keywordsrc/init.rs:104 spawn(proc() {
^~~~
Could not compile
ears
.To learn more, run the command again with --verbose.
$ cargo build --verbose [17:05:40]
Compiling ears v0.3.0 (file:///tmp/ears)
Running
rustc src/ears.rs --crate-name ears --crate-type dylib --crate-type rlib -g --out-dir /tmp/ears/target/debug --emit=dep-info,link -L dependency=/tmp/ears/target/debug -L dependency=/tmp/ears/target/debug/deps
src/internal.rs:36:100: 36:101 error: macros that expand to items must either be surrounded with braces or followed by a semicolon
src/internal.rs:36 thread_local!(static AL_CONTEXT: RefCell<Box> = RefCell::new(box OpenAlData::default()))
^
src/internal.rs:192:1: 192:2 error: macros that expand to items must either be surrounded with braces or followed by a semicolon
src/internal.rs:192 )
^
src/init.rs:104:15: 104:19 error:
proc
is a reserved keywordsrc/init.rs:104 spawn(proc() {
^~~~
Could not compile
ears
.Caused by:
Process didn't exit successfully:
rustc src/ears.rs --crate-name ears --crate-type dylib --crate-type rlib -g --out-dir /tmp/ears/target/debug --emit=dep-info,link -L dependency=/tmp/ears/target/debug -L dependency=/tmp/ears/target/debug/deps
(exit code: 101)The text was updated successfully, but these errors were encountered: