[Bug libstdc++/71562] Changing the hard coded size of _S_local_capacity in sso_string_base.h

development@faf-ltd.com gcc-bugzilla@gcc.gnu.org
Fri Jun 17 09:53:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71562

--- Comment #2 from Peter VARGA <development@faf-ltd.com> ---
I disagree 100% with your comment!

I am definitely NOT a genius and I needed 5 minutes to find out where the hard
coded size is set.
Look at the GNU Glibc - you can crash an existing system when running
./configure with the wrong paths/settings. In the documentation is a warning.

You NEVER can be responsible if a programmer does NOT know what he is doing.
You can only warn them and then let it go.

I do NOT need this define - I set it already to my own value but because
vstring.h has the special status I thought it may be also for other programner
useful.

Why 15 and not 30? Do you understand what I mean?


More information about the Gcc-bugs mailing list