From 991a0366ba6758faf76820e6c215c540fbb47660 Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Wed, 19 Oct 2011 12:19:56 +0100
Subject: [PATCH] gcc: 4.6.1 is now the default

---
 etc/config/settings.csh                                    | 4 ----
 etc/config/settings.sh                                     | 7 +------
 .../rhoSimplecFoam/squareBend/system/fvSolution            | 2 +-
 3 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/etc/config/settings.csh b/etc/config/settings.csh
index fbb9f042702..2b0a132ebca 100644
--- a/etc/config/settings.csh
+++ b/etc/config/settings.csh
@@ -203,10 +203,6 @@ case ThirdParty:
     switch ("$WM_COMPILER")
     case Gcc:
     case Gcc++0x:
-        set gcc_version=gcc-4.4.3
-        set gmp_version=gmp-5.0.1
-        set mpfr_version=mpfr-2.4.2
-        breaksw
     case Gcc46:
     case Gcc46++0x:
         set gcc_version=gcc-4.6.1
diff --git a/etc/config/settings.sh b/etc/config/settings.sh
index bf8f58a34ac..e56afffa179 100644
--- a/etc/config/settings.sh
+++ b/etc/config/settings.sh
@@ -222,12 +222,7 @@ fi
 case "${foamCompiler}" in
 OpenFOAM | ThirdParty)
     case "$WM_COMPILER" in
-    Gcc | Gcc++0x)
-        gcc_version=gcc-4.4.3
-        gmp_version=gmp-5.0.1
-        mpfr_version=mpfr-2.4.2
-        ;;
-    Gcc46 | Gcc46++0x)
+    Gcc | Gcc++0x | Gcc46 | Gcc46++0x)
         gcc_version=gcc-4.6.1
         gmp_version=gmp-5.0.2
         mpfr_version=mpfr-3.0.1
diff --git a/tutorials/compressible/rhoSimplecFoam/squareBend/system/fvSolution b/tutorials/compressible/rhoSimplecFoam/squareBend/system/fvSolution
index 346b9ea433a..8b5f9ccd5ff 100644
--- a/tutorials/compressible/rhoSimplecFoam/squareBend/system/fvSolution
+++ b/tutorials/compressible/rhoSimplecFoam/squareBend/system/fvSolution
@@ -190,7 +190,7 @@ relaxationFactors
         h               0.95;
         k               0.9;
         epsilon         0.9;
-    }w
+    }
 }
 
 relaxationFactors0
-- 
GitLab