bin2cpp icon indicating copy to clipboard operation
bin2cpp copied to clipboard

Generate only c code.

Open end2endzone opened this issue 4 years ago • 2 comments

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 avatar Jul 30 '21 20:07 end2endzone

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 #52.
  • Set to c to generate c only code.

end2endzone avatar Jul 30 '21 20:07 end2endzone

Related to #52

end2endzone avatar Jul 31 '21 13:07 end2endzone