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

Generate only c code. #53

Open
end2endzone opened this issue Jul 30, 2021 · 2 comments
Open

Generate only c code. #53

end2endzone opened this issue Jul 30, 2021 · 2 comments

Comments

@end2endzone
Copy link
Owner

It might be a good idea to enable the generation of c-only code.
In other words, one could configure the application to generate code that do not rely on c++ classes or std classes. This feature would provide greater compatibility with other compilers with multiple environment and platforms.

@end2endzone
Copy link
Owner Author

The proposed method to enable c-only code is the comand line --language set to one of the following values :

  • Set to legacy (or leave unspecified), to generate code as in previous versions.
  • Set to cxx, cpp or c++ to generate c++ only code. Related to issue Generate only c++ code #52.
  • Set to c to generate c only code.

@end2endzone
Copy link
Owner Author

Related to #52

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

1 participant