-
Notifications
You must be signed in to change notification settings - Fork 352
Closed
Milestone
Description
PR #19 introduced warnings in VS2013. @aseth1 said he sees warnings like:
warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data, e.g:
void ExpressionProgram::buildProgram(const ExpressionTreeNode& node) { for (int i = node.getChildren().size()-1; i >= 0; i--) ...}
I see two resolutions:
- Patch github.com/simtk/openmm to get rid of this warning @peatsman, do you build with VS2013? If so, do you see such warnings?
- Fix the warning ourselves in opensim. I think we'd do this by changing
int itosize_t i. We might need to includestdintto get this to work on VS2010.
Looking for suggestions.
Metadata
Metadata
Assignees
Labels
No labels