mirror of
https://github.com/gigablast/open-source-search-engine.git
synced 2024-11-20 18:57:32 +03:00
Compile with "-std=c++98" to fix FTBFS (Closes: #164)
~~~~ Mem.cpp:233:8: error: declaration of ‘void* operator new(size_t) throw (std::bad_alloc)’ has a different exception specifier 233 | void * operator new (size_t size) throw (std::bad_alloc) { | ^~~~~~~~ ~~~~
This commit is contained in:
parent
9146f05574
commit
7a2bca9649
3
Makefile
3
Makefile
@ -125,7 +125,8 @@ else
|
||||
#
|
||||
# Use -Wpadded flag to indicate padded structures.
|
||||
#
|
||||
CPPFLAGS = -g -Wall -pipe -fno-stack-protector -Wno-write-strings -Wstrict-aliasing=0 -Wno-uninitialized -DPTHREADS -Wno-unused-but-set-variable $(STATIC)
|
||||
## FIXME: update standards to "-std=c++11", see #164.
|
||||
CPPFLAGS = -g -Wall -pipe -fno-stack-protector -Wno-write-strings -Wstrict-aliasing=0 -Wno-uninitialized -DPTHREADS -Wno-unused-but-set-variable -std=c++98 $(STATIC)
|
||||
#LIBS= -L. ./libz.a ./libssl.a ./libcrypto.a ./libiconv.a ./libm.a ./libstdc++.a -lpthread
|
||||
# apt-get install libssl-dev (to provide libssl and libcrypto)
|
||||
# to build static libiconv.a do a './configure --enable$(STATIC)' then 'make'
|
||||
|
Loading…
Reference in New Issue
Block a user