This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
See the previous discussion on why you can't make GCed stuff 'const'.
You did not answer to Zack's comments then:
> > these data structures are not truly
> > write-once; any pointers contained in them will be changed by saving
> > a PCH.
>
> Sure; however, that happens behind the back of the code that uses this
> data structure. The 'const' is correctly placed to catch bugs in that
> code, which is what I care about.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |