Interesting question. Why would you believe that gcc would not do such a thing?
Well, I decided to do a little experiment, just to confirm what I thought I knew. I took some code I had lying around, and put a bunch of comments in, compiled and rechecked the size of the exe.
The answer - the exe did not change by one byte.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
From hexediting / disassenbling some exes i was able to find a comment on a file, it was surrounded by /* */. The thing is that i can tell which language was used in that exe, wich compiler, etc.
So my question was if that would be a problem for us gcc users :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does GCC excludes the commented lines from the exe code generation automatically? Or theres a flag for it?
I think it auto does it
You mean as: /* something here */ or // something here commented lines ?. If yes... the anwser is yes.
j@ck_
Sorry, the rest of the above post...
the anwser is yes:: It is 'auto' the compiler does not see them.
j@ck_
Interesting question. Why would you believe that gcc would not do such a thing?
Well, I decided to do a little experiment, just to confirm what I thought I knew. I took some code I had lying around, and put a bunch of comments in, compiled and rechecked the size of the exe.
The answer - the exe did not change by one byte.
Wayne
From hexediting / disassenbling some exes i was able to find a comment on a file, it was surrounded by /* */. The thing is that i can tell which language was used in that exe, wich compiler, etc.
So my question was if that would be a problem for us gcc users :)