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

Rename MATH class #116

Open
bandurvp opened this issue Sep 22, 2017 · 1 comment
Open

Rename MATH class #116

bandurvp opened this issue Sep 22, 2017 · 1 comment
Assignees
Milestone

Comments

@bandurvp
Copy link
Contributor

When the VDM MATH library is generated, the names of the resulting header file clashes with standard Widnows files. Recommend that a refactoring be done before code generation to rename this class to VdmMathLib or something similar. It must not be renamed MATHLib, as this would clash with the runtime support counterpart.

@bandurvp bandurvp added this to the v0.1.16 milestone Sep 22, 2017
@bandurvp
Copy link
Contributor Author

I have just looked into whether it would be worthwhile to quickly hack it such that it only renames the header file and the corresponding #include line in the class .c file, but it seems to be more trouble than it's worth due to the structure of the generator. I think a refactoring transformation that renames MATH as above would be the most elegant solution, especially since it can be toggled, should this become relevant.

@peterwvj peterwvj modified the milestones: v0.1.16, v0.1.18 Oct 4, 2017
@peterwvj peterwvj modified the milestones: v0.2, v0.2.2 Feb 14, 2018
@peterwvj peterwvj modified the milestones: v0.2.2, v0.2.4 Nov 22, 2018
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