/in/foo.cc:2:1: error: expected unqualified-id before numeric constant
2
^
In file included from /usr/include/c++/7/iosfwd:40:0,
from /usr/include/c++/7/ios:38,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from /in/foo.cc:70:
/usr/include/c++/7/bits/postypes.h:98:11: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t streamsize; // Signed integral type
^~~~~~~~~
In file included from /usr/include/c++/7/bits/exception_ptr.h:40:0,
from /usr/include/c++/7/exception:142,
from /usr/include/c++/7/ios:39,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from /in/foo.cc:70:
/usr/include/c++/7/new:120:31: error: declaration of 'operator new' as non-function
void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
^
/usr/include/c++/7/new:120:25: error: 'size_t' is not a member of 'std'
void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
^~~~~~
/usr/include/c++/7/new:120:25: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
from /usr/include/c++/7/cwchar:44,
from /usr/include/c++/7/bits/postypes.h:40,
from /usr/include/c++/7/iosfwd:40,
from /usr/include/c++/7/ios:38,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from /in/foo.cc:70:
/usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: 'size_t'
typedef __SIZE_TYPE__ size_t;
^~~~~~
In file included from /usr/include/c++/7/bits/exception_ptr.h:40:0,
from /usr/include/c++/7/exception:142,
from /usr/include/c++/7/ios:39,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from /in/foo.cc:70:
/usr/include/c++/7/new:122:33: error: declaration of 'operator new []' as non-function
void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
^
/usr/include/c++/7/new:122:27: error: 'size_t' is not a member of 'std'
void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
^~~~~~
/usr/include/c++/7/new:122:27: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
from /usr/include/c++/7/cwchar:44,
from /usr/include/c++/7/bits/postypes.h:40,
from /usr/include/c++/7/iosfwd:40,
from /usr/include/c++/7/ios:38,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from /in/foo.cc:70:
/usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: 'size_t'
typedef __SIZE_TYPE__ size_t;
^~~~~~
In file included from /usr/include/c++/7/bits/exception_ptr.h:40:0,
from /usr/include/c++/7/exception:142,
from /usr/include/c++/7/ios:39,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from /in/foo.cc:70:
/usr/include/c++/7/new:134:25: error: declaration of 'operator new' as non-function
void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
^~~~~~
/usr/include/c++/7/new:134:25: error: 'size_t' is not a member of 'std'
/usr/include/c++/7/new:134:25: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
from /usr/include/c++/7/cwchar:44,
from /usr/include/c++/7/bits/postypes.h:40,
from /usr/include/c++/7/iosfwd:40,
from /usr/include/c++/7/ios:38,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from /in/foo.cc:70:
/usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: 'size_t'
typedef __SIZE_TYPE__ size_t;
^~~~~~
In file included from /usr/include/c++/7/bits/exception_ptr.h:40:0,
from /usr/include/c++/7/exception:142,
from /usr/include/c++/7/ios:39,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from /in/foo.cc:70:
/usr/include/c++/7/new:134:33: error: expected primary-expression before 'const'
void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
^~~~~
/usr/include/c++/7/new:136:27: error: declaration of 'operator new []' as non-function
void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
^~~~~~
/usr/include/c++/7/new:136:27: error: 'size_t' is not a member of 'std'
/usr/include/c++/7/new:136:27: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
from /usr/include/c++/7/cwchar:44,
from /usr/include/c++/7/bits/postypes.h:40,
from /usr/include/c++/7/iosfwd:40,
from /usr/include/c++/7/ios:38,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from /in/foo.cc:70:
/usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: 'size_t'
typedef __SIZE_TYPE__ size_t;
^~~~~~
In file included from /usr/include/c++/7/bits/exception_ptr.h:40:0,
from /usr/include/c++/7/exception:142,
from /usr/include/c++/7/ios:39,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from /in/foo.cc:70:
/usr/include/c++/7/new:136:35: error: expected primary-expression before 'const'
void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
^~~~~
/usr/include/c++/7/new:168:32: error: declaration of 'operator new' as non-function
inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
^~~~~~
/usr/include/c++/7/new:168:32: error: 'size_t' is not a member of 'std'
/usr/include/c++/7/new:168:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
from /usr/include/c++/7/cwchar:44,
from /usr/include/c++/7/bits/postypes.h:40,
from /usr/include/c++/7/iosfwd:40,
from /usr/include/c++/7/ios:38,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from /in/foo.cc:70:
/usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: 'size_t'
typedef __SIZE_TYPE__ size_t;
^~~~~~
In file included from /usr/include/c++/7/bits/exception_ptr.h:40:0,
from /usr/include/c++/7/exception:142,
from /usr/include/c++/7/ios:39,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from /in/foo.cc:70:
/usr/include/c++/7/new:168:40: error: expected primary-expression before 'void'
inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
^~~~
/usr/include/c++/7/new:170:34: error: declaration of 'operator new []' as non-function
inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
^~~~~~
/usr/include/c++/7/new:170:34: error: 'size_t' is not a member of 'std'
/usr/include/c++/7/new:170:34: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
from /usr/include/c++/7/cwchar:44,
from /usr/include/c++/7/bits/postypes.h:40,
from /usr/include/c++/7/iosfwd:40,
from /usr/include/c++/7/ios:38,
from /usr/include/c++/7/ostream:38,
from /usr