mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
libstdc++: add using std::size_t
Without a definition for size_t in global namespace, there are errors like this one for arm-none-eabi: .../requirements_neg.cc:5: error: 'size_t' has not been declared libstdc++-v3/ChangeLog: * testsuite/29_atomics/atomic_ref/requirements_neg.cc: Add using std::size_t. Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
#include <atomic>
|
||||
|
||||
using std::size_t;
|
||||
|
||||
template<size_t N>
|
||||
struct NonTrivial
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user