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

Weather #94

Merged
merged 7 commits into from Mar 18, 2012
Merged

Weather #94

merged 7 commits into from Mar 18, 2012

Conversation

ghost
Copy link

@ghost ghost commented Mar 18, 2012

No description provided.

@zinnschlag
Copy link
Owner

Please do not use the preprocessor for constants! The rest looks okay though.

@ghost
Copy link
Author

ghost commented Mar 18, 2012

can you specify?

@zinnschlag
Copy link
Owner

CLOUD_SPEED. Don't use preprocessor defines for constants (it's stated in the wiki). The preprocessor should be limited to includes, include guards, asserts and conditional compilation (if unavoidable).

@zinnschlag
Copy link
Owner

Okay, that is one way of doing it (the other would have been to put C++ constants into an anonymous namespace). Will merge in a moment.

@zinnschlag zinnschlag merged commit c2329b7 into zinnschlag:master Mar 18, 2012
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

Successfully merging this pull request may close these issues.

1 participant