This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50594] Option -fwhole-program discards replaced new operator for std::string
- From: "z0sh at sogetthis dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 04 Oct 2011 11:59:39 +0000
- Subject: [Bug c++/50594] Option -fwhole-program discards replaced new operator for std::string
- Auto-submitted: auto-generated
- References: <bug-50594-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50594
--- Comment #19 from Kerrek SB <z0sh at sogetthis dot com> 2011-10-04 11:59:39 UTC ---
> The following allocation and deallocation functions (18.6) are implicitly
declared in global scope in each translation unit of a program.
If those functions are declared implicitly, could you just amend that implicit
declaration to include the visibility attribute?