Skip to content
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

Open
hanckmann opened this issue Jun 29, 2015 · 4 comments
Open

Compiling fails (v0.3.0) #11

hanckmann opened this issue Jun 29, 2015 · 4 comments

Comments

@hanckmann
Copy link

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 keyword
src/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 keyword
src/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)

@jeremyletang
Copy link
Owner

Hi,
Sorry but the last update should be before rust1.0, this will need some time to make it work again. I will do it as soon as I have some time.

@rjdgtn
Copy link

rjdgtn commented Jul 3, 2015

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.

@rjdgtn
Copy link

rjdgtn commented Jul 10, 2015

Fixed version of ears you can find at fork https://github.com/rjdgtn/ears

@jhasse
Copy link

jhasse commented Feb 3, 2016

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants