Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- goat$ pwd
- /disks/beejhome/home/beej/aur/build/grass/src/grass-7.0.4/lib/iostream
- goat$ make
- 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
- mm.cpp: In function ‘void* operator new [](size_t)’:
- mm.cpp:279:7: error: declaration of ‘void* operator new [](size_t) throw (std::bad_alloc)’ has a different exception specifier
- void* operator new[] (size_t sz) throw(std::bad_alloc) {
- ^~~~~~~~
- In file included from mm.cpp:49:0:
- /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)’
- friend void * operator new[](size_t) throw(std::bad_alloc);
- ^~~~~~~~
- mm.cpp: In function ‘void* operator new(size_t)’:
- mm.cpp:330:7: error: declaration of ‘void* operator new(size_t) throw (std::bad_alloc)’ has a different exception specifier
- void* operator new (size_t sz) throw(std::bad_alloc) {
- ^~~~~~~~
- In file included from mm.cpp:49:0:
- /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)’
- friend void * operator new(size_t) throw(std::bad_alloc);
- ^~~~~~~~
- ../../include/Make/Compile.make:35: recipe for target 'OBJ.x86_64-pc-linux-gnu/mm.o' failed
- make: *** [OBJ.x86_64-pc-linux-gnu/mm.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement