SHARE
TWEET

Untitled

a guest May 15th, 2016 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. goat$ pwd
  2. /disks/beejhome/home/beej/aur/build/grass/src/grass-7.0.4/lib/iostream
  3. goat$ make
  4. c++ -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC  -I/disks/beejhome/home/beej/aur/build/grass/src/grass-7.0.4/dist.x86_64-pc-linux-gnu/include -I/disks/beejhome/home/beej/aur/build/grass/src/grass-7.0.4/dist.x86_64-pc-linux-gnu/include    -DPACKAGE=\""grasslibs"\"   -I/disks/beejhome/home/beej/aur/build/grass/src/grass-7.0.4/dist.x86_64-pc-linux-gnu/include -I/disks/beejhome/home/beej/aur/build/grass/src/grass-7.0.4/dist.x86_64-pc-linux-gnu/include -DRELDIR=\"lib/iostream\" -o OBJ.x86_64-pc-linux-gnu/mm.o -c mm.cpp
  5. mm.cpp: In function ‘void* operator new [](size_t)’:
  6. mm.cpp:279:7: error: declaration of ‘void* operator new [](size_t) throw (std::bad_alloc)’ has a different exception specifier
  7.  void* operator new[] (size_t sz) throw(std::bad_alloc) {
  8.        ^~~~~~~~
  9. In file included from mm.cpp:49:0:
  10. /disks/beejhome/home/beej/aur/build/grass/src/grass-7.0.4/dist.x86_64-pc-linux-gnu/include/grass/iostream/mm.h:132:17: note: from previous declaration ‘void* operator new [](std::size_t)’
  11.    friend void * operator new[](size_t) throw(std::bad_alloc);
  12.                  ^~~~~~~~
  13. mm.cpp: In function ‘void* operator new(size_t)’:
  14. mm.cpp:330:7: error: declaration of ‘void* operator new(size_t) throw (std::bad_alloc)’ has a different exception specifier
  15.  void* operator new (size_t sz) throw(std::bad_alloc) {
  16.        ^~~~~~~~
  17. In file included from mm.cpp:49:0:
  18. /disks/beejhome/home/beej/aur/build/grass/src/grass-7.0.4/dist.x86_64-pc-linux-gnu/include/grass/iostream/mm.h:131:17: note: from previous declaration ‘void* operator new(std::size_t)’
  19.    friend void * operator new(size_t) throw(std::bad_alloc);
  20.                  ^~~~~~~~
  21. ../../include/Make/Compile.make:35: recipe for target 'OBJ.x86_64-pc-linux-gnu/mm.o' failed
  22. make: *** [OBJ.x86_64-pc-linux-gnu/mm.o] Error 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top