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

Fix enum namespace change #97

Closed
bvssvni opened this issue Nov 19, 2014 · 6 comments
Closed

Fix enum namespace change #97

bvssvni opened this issue Nov 19, 2014 · 6 comments
Assignees
Labels

Comments

@bvssvni
Copy link
Member

bvssvni commented Nov 19, 2014

See PistonDevelopers/piston#719

@bvssvni bvssvni added the easy label Nov 19, 2014
@bvssvni bvssvni self-assigned this Nov 19, 2014
@bvssvni
Copy link
Member Author

bvssvni commented Nov 19, 2014

Getting these errors:

<quote expansion>:10:271: 10:344 error: unresolved name `__gfx_extern_crate_hack::gfx::attrib::FloatSubType::Default`.
<quote expansion>:10                                                                                                                                                                                  name_504,ctxt_0::name_71,ctxt_0::name_510,ctxt_0::name_511,ctxt_0::name_512,ctxt_0(name_504,ctxt_0::name_71,ctxt_0::name_510,ctxt_0::name_508,ctxt_0,
                                                                                                                                                                                                                                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: in expansion of #[vertex_format]
src/g2d.rs:113:1: 113:17 note: expansion site
<quote expansion>:10:271: 10:344 error: unresolved name `__gfx_extern_crate_hack::gfx::attrib::FloatSubType::Default`.
<quote expansion>:10                                                                                                                                                                                  name_542,ctxt_0::name_71,ctxt_0::name_510,ctxt_0::name_511,ctxt_0::name_512,ctxt_0(name_542,ctxt_0::name_71,ctxt_0::name_510,ctxt_0::name_508,ctxt_0,
                                                                                                                                                                                                                                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: in expansion of #[vertex_format]
src/g2d.rs:116:1: 116:17 note: expansion site
<quote expansion>:10:271: 10:344 error: unresolved name `__gfx_extern_crate_hack::gfx::attrib::FloatSubType::Default`.
<quote expansion>:10                                                                                                                                                                                  name_551,ctxt_0::name_71,ctxt_0::name_510,ctxt_0::name_511,ctxt_0::name_512,ctxt_0(name_551,ctxt_0::name_71,ctxt_0::name_510,ctxt_0::name_508,ctxt_0,
                                                                                                                                                                                                                                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: in expansion of #[vertex_format]
src/g2d.rs:119:1: 119:17 note: expansion site
error: aborting due to 3 previous errors
Could not compile `gfx_graphics`.

@bvssvni
Copy link
Member Author

bvssvni commented Nov 19, 2014

Perhaps __gfx_extern_crate_hack causes some problems?

@bvssvni
Copy link
Member Author

bvssvni commented Nov 19, 2014

Perhaps the enum namespace change does not work properly with extern crate "gfx" as _gfx such as here https://github.com/gfx-rs/gfx-rs/blob/8a935c84b67f4efed90eb8e4e82c354eed091a37/src/gfx_macros/lib.rs#L177

@bvssvni
Copy link
Member Author

bvssvni commented Nov 19, 2014

It might be I'm on and "old" rustc. Got lots of other errors now.

@bvssvni
Copy link
Member Author

bvssvni commented Nov 22, 2014

This should be fixed now.

@bvssvni bvssvni closed this as completed Nov 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant