anael-seghezzi / CToy

Interactive C live coding environment
Other
1.36k stars 71 forks source link

reserved identifier violation #2

Closed elfring closed 8 years ago

elfring commented 8 years ago

I would like to point out that identifiers like "_CTOY_H_" and "_M_DIST_T" do eventually not fit to the expected naming convention of the C language standard. Would you like to adjust your selection for unique names?

anael-seghezzi commented 8 years ago

You are right, it should be ok now

elfring commented 8 years ago

Thanks for your improvement of affected identifiers.

How do you think about support for the programming language "C++"?

anael-seghezzi commented 8 years ago

Do you refer to the double underscore ? The code is written in pure C and maratis_tiny_c_lib make use of extern "C". So C should take precedence.

elfring commented 8 years ago

I suggest to reconsider also the use of double underscores in your source files.

Would you like to take the possibility into account that a developer would instruct an other compiler implementation to perform data processing with the provided files as C++ source code intentionally?