This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[v3] typesize include fixes
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 12 Mar 2009 22:43:11 -0700
- Subject: [v3] typesize include fixes
Small adjustment to include ordering for these tests.
tested x86_64/linux
-benjamin
2009-03-12 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/30_threads/condition_variable_any/native_handle/
typesizes.cc: Include tweaks.
* testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
* testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
* testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
* testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
* testsuite/30_threads/condition_variable/native_handle/
typesizes.cc: Same.
Index: testsuite/30_threads/condition_variable_any/native_handle/typesizes.cc
===================================================================
--- testsuite/30_threads/condition_variable_any/native_handle/typesizes.cc (revision 144829)
+++ testsuite/30_threads/condition_variable_any/native_handle/typesizes.cc (working copy)
@@ -23,8 +23,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+#include <condition_variable>
#include <thread/all.h>
-#include <condition_variable>
int main()
{
Index: testsuite/30_threads/mutex/native_handle/typesizes.cc
===================================================================
--- testsuite/30_threads/mutex/native_handle/typesizes.cc (revision 144829)
+++ testsuite/30_threads/mutex/native_handle/typesizes.cc (working copy)
@@ -23,8 +23,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+#include <mutex>
#include <thread/all.h>
-#include <mutex>
int main()
{
Index: testsuite/30_threads/timed_mutex/native_handle/typesizes.cc
===================================================================
--- testsuite/30_threads/timed_mutex/native_handle/typesizes.cc (revision 144829)
+++ testsuite/30_threads/timed_mutex/native_handle/typesizes.cc (working copy)
@@ -23,8 +23,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+#include <mutex>
#include <thread/all.h>
-#include <mutex>
int main()
{
Index: testsuite/30_threads/thread/native_handle/typesizes.cc
===================================================================
--- testsuite/30_threads/thread/native_handle/typesizes.cc (revision 144829)
+++ testsuite/30_threads/thread/native_handle/typesizes.cc (working copy)
@@ -23,8 +23,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+#include <thread>
#include <thread/all.h>
-#include <thread>
int main()
{
Index: testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc
===================================================================
--- testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc (revision 144829)
+++ testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc (working copy)
@@ -23,8 +23,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+#include <mutex>
#include <thread/all.h>
-#include <mutex>
int main()
{
Index: testsuite/30_threads/condition_variable/native_handle/typesizes.cc
===================================================================
--- testsuite/30_threads/condition_variable/native_handle/typesizes.cc (revision 144829)
+++ testsuite/30_threads/condition_variable/native_handle/typesizes.cc (working copy)
@@ -23,8 +23,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+#include <condition_variable>
#include <thread/all.h>
-#include <condition_variable>
int main()
{