From: David Teigland Date: Thu, 6 Sep 2007 11:15:16 -0500 Subject: [Cluster-devel] -O2 -Werror Message-ID: <20070906161516.GB16573@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit configure was recently changed from a default of -O0 to -O2. A couple of places in the tree also use -Werror. The new combination of -O2 and -Werror breaks the build when using default configure setting. [using gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-13)] We need to remove the -Werror's, go back to a default of -O0, or change the code that breaks. I doubt that we'll be able to go too long with both -O2 and -Werror, though, so one of them will probably need to change. To get things building until someone comes up with a better solution, I'm taking the simplest route and going back to a default of -O0. Dave