Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Error in export_headers.m #1

Closed
kentaro opened this issue Sep 10, 2012 · 6 comments
Closed

Error in export_headers.m #1

kentaro opened this issue Sep 10, 2012 · 6 comments

Comments

@kentaro
Copy link

kentaro commented Sep 10, 2012

When I run a build for sample app, I got an Error, "Initializer element is not a compile-time constant", in export_headers.m at:

static struct BridgeSupportEnumTable enums_table[] = {

I commented out the line below, then the app wouldn't got the error.

   {.name="CGFLOAT_MAX", .value=3.4028235E+38},

I don't know how to fix, so just reported it.

  • OSX: Mountain Lion
  • Xcode: Version 4.4.1 (4F1003)
@masuidrive
Copy link
Member

Can I have full source of export_headers.m?

@kentaro
Copy link
Author

kentaro commented Sep 11, 2012

You can see one at https://gist.github.com/3695514.

@masuidrive
Copy link
Member

Probably I fixed it. Could you try again?
please clean project before building. [Menu]->[Project]->[Clean]

@masuidrive
Copy link
Member

We're talking about this issue in SapporoRubykaigi.

@kentaro
Copy link
Author

kentaro commented Sep 16, 2012

🍣

@masuidrive
Copy link
Member

Fixed in offline communication

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

No branches or pull requests

2 participants