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

H2EQ_MATH with pointer type parameters, compile failed #7

Closed
lingjf opened this issue Sep 2, 2013 · 2 comments
Closed

H2EQ_MATH with pointer type parameters, compile failed #7

lingjf opened this issue Sep 2, 2013 · 2 comments
Assignees
Labels

Comments

@lingjf
Copy link
Owner

lingjf commented Sep 2, 2013

{
char* rv = NULL;
H2EQ_MATH(NULL, rv);
}

compile failed due to can't cast char* to double.

@ghost ghost assigned lingjf Sep 2, 2013
@lingjf
Copy link
Owner Author

lingjf commented Sep 2, 2013

C++ overload (not override) feature should be applied.
http://www.learncpp.com/cpp-tutorial/76-function-overloading/

@lingjf
Copy link
Owner Author

lingjf commented Sep 3, 2013

Fixed! and I have wrote a BLOG about this issue.

https://github.com/lingjf/h2unit/wiki/Design-H2EQ_MATH

@lingjf lingjf closed this as completed Sep 3, 2013
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