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

"#pragma upc upc_code/c_code" not recognized #9

Open
nenadv opened this issue Dec 3, 2013 · 1 comment
Open

"#pragma upc upc_code/c_code" not recognized #9

nenadv opened this issue Dec 3, 2013 · 1 comment
Assignees

Comments

@nenadv
Copy link

nenadv commented Dec 3, 2013

The current version of the translator does not recognize upc_code/c_code pragma values. Error is reported:

t.upc:3:13: warning: expected 'strict' or 'relaxed' after '#pragma upc' - ignored

pragma upc upc_code

        ^

t.upc:4:13: warning: expected 'strict' or 'relaxed' after '#pragma upc' - ignored

pragma upc c_code

@nenadv
Copy link
Author

nenadv commented Dec 11, 2013

Added code to recognize pragma arguments but nothing with it. At some point we need to make sure that we don;t recognize UPC code when "c_code" is in effect.

clangupc/clang-upc@32d6143

@ghost ghost assigned swatanabe Jan 24, 2014
@nenadv nenadv added enhancement and removed bug labels Feb 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants