This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/71562] Changing the hard coded size of _S_local_capacity in sso_string_base.h
- From: "development at faf-ltd dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Jun 2016 09:53:03 +0000
- Subject: [Bug libstdc++/71562] Changing the hard coded size of _S_local_capacity in sso_string_base.h
- Auto-submitted: auto-generated
- References: <bug-71562-4 at http dot gcc dot gnu dot org/bugzilla/>
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?