Commit 7581b88a by Benjamin Kosnik Committed by Benjamin Kosnik

Makefile.am: Remove -x c++ for atomic build rules.

2008-12-12  Benjamin Kosnik  <bkoz@redhat.com>

	* src/Makefile.am: Remove -x c++ for atomic build rules.
	* src/Makefile.in: Regenerate.
	* src/atomic.cc: Move mutex include before cstdatomic.

From-SVN: r142738
parent 81ff169c
2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
* src/Makefile.am: Remove -x c++ for atomic build rules.
* src/Makefile.in: Regenerate.
* src/atomic.cc: Move mutex include before cstdatomic.
2008-12-12 H.J. Lu <hongjiu.lu@intel.com> 2008-12-12 H.J. Lu <hongjiu.lu@intel.com>
PR libstdc++/37144 PR libstdc++/37144
......
...@@ -274,9 +274,9 @@ limits_c++0x.o: limits_c++0x.cc ...@@ -274,9 +274,9 @@ limits_c++0x.o: limits_c++0x.cc
$(CXXCOMPILE) -std=gnu++0x -c $< $(CXXCOMPILE) -std=gnu++0x -c $<
atomic.lo: atomic.cc atomic.lo: atomic.cc
$(LTCXXCOMPILE) -x c++ -std=gnu++0x -c $< $(LTCXXCOMPILE) -std=gnu++0x -c $<
atomic.o: atomic.cc atomic.o: atomic.cc
$(CXXCOMPILE) -x c++ -std=gnu++0x -c $< $(CXXCOMPILE) -std=gnu++0x -c $<
string-inst.lo: string-inst.cc string-inst.lo: string-inst.cc
$(LTCXXCOMPILE) -std=gnu++0x -c $< $(LTCXXCOMPILE) -std=gnu++0x -c $<
......
...@@ -883,9 +883,9 @@ limits_c++0x.o: limits_c++0x.cc ...@@ -883,9 +883,9 @@ limits_c++0x.o: limits_c++0x.cc
$(CXXCOMPILE) -std=gnu++0x -c $< $(CXXCOMPILE) -std=gnu++0x -c $<
atomic.lo: atomic.cc atomic.lo: atomic.cc
$(LTCXXCOMPILE) -x c++ -std=gnu++0x -c $< $(LTCXXCOMPILE) -std=gnu++0x -c $<
atomic.o: atomic.cc atomic.o: atomic.cc
$(CXXCOMPILE) -x c++ -std=gnu++0x -c $< $(CXXCOMPILE) -std=gnu++0x -c $<
string-inst.lo: string-inst.cc string-inst.lo: string-inst.cc
$(LTCXXCOMPILE) -std=gnu++0x -c $< $(LTCXXCOMPILE) -std=gnu++0x -c $<
......
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
// the GNU General Public License. // the GNU General Public License.
#include "gstdint.h" #include "gstdint.h"
#include <cstdatomic>
#include <mutex> #include <mutex>
#include <cstdatomic>
#define LOGSIZE 4 #define LOGSIZE 4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment