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]

Re: don't include cstdlib unnecessarily


On Wednesday, February 9, 2005, at 07:02 PM, Gabriel Dos Reis wrote:
Yes. Thanks.

Additional testing shows that the below was also required... Curious enough, other files so the same type of problem, but since I've not seen a problem with them, I'll leave them alone.


Doing diffs in .:
--- ./del_op.cc.~1~     2005-02-10 11:14:58.000000000 -0800
+++ ./del_op.cc 2005-02-10 11:17:57.000000000 -0800
@@ -29,10 +29,10 @@
 // the GNU General Public License.

 #include "new"
+#include <bits/c++config.h>
 #if _GLIBCXX_HOSTED
 #include <cstdlib>
 #endif
-#include <bits/c++config.h>

 #if _GLIBCXX_HOSTED
 using std::free;
--------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]