bin2cpp
bin2cpp copied to clipboard
Generate only c code.
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.
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,cpporc++to generate c++ only code. Related to issue #52. - Set to
cto generate c only code.
Related to #52