Commit cb58d6a6 authored by tavit ohanian's avatar tavit ohanian

initial rebranded fork

parent 709e99dc
......@@ -2265,42 +2265,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
OPTIMIZE="-g -O3"
DIALECT="-std=c++17" ### c++98, c++11, c++14, c++17, etc.
CFLAGS=${CFLAGS:-$OPTIMIZE}
###
### Notes about component implementation.
###
### 0) Fork basis support stops at GCC 5.4 and component release 5.19.
### Our fork is based on 5.13 release of the fork basis component.
### Support for more recent versions of tools and language is required
### to maintain this fork, lest we migrate off this solution. Currently,
### we are compiling with GCC 8.3 and -std=C++11.
###
### 1) src/HTMLParser.cpp generates stringop-overflow warning, due to a GCC bug.
### see GCC 8 patch:
### Fix bogus strncpy source length warning on source bound by constant
### https://gcc.gnu.org/legacy-ml/gcc-patches/2018-03/msg00609.html
### workarounds: use memcpy or turn off warning -Wno-stringop-overflow
###
### 2) src/DirectoryIterator.cpp generates deprecated-declarations warning
### on linex platforms that support reentrant readdir directory entry
### reader marked depricated by dirent.h.
### workarounds: undefine HAS_READDIR_R in file
### contrib/lemur/include/lemur/lemur-platform.h
### or disable warning -Wno-deprecated-declarations
###
### 3) src/Arabic_Stemmer_utf8.cpp conversion-null warnings
### a good reference for a discussion of pointer to integer conversions
### can be found here:
### https://wiki.sei.cmu.edu/confluence/display/c/INT36-C.+Converting+a+pointer+to+integer+or+integer+to+pointer
### fix: refactor code Arabic_Stemmer_utf8.hpp to define STEM_NULL in
### utf8 codepoint tables, further refactor to eliminate CHAR_NULL is
### for later.
###
### 4) vank/include/vank/RegionAllocator.hpp exception during allocate on new
### // track alignment applied in greedy_vector
### // as some use cases classes use the ReagonAllocator to
### // wrap a member structue as a greedy_vector
###
### use enable next comment line to cleanup warnings in code
CXXFLAGS=${CXXFLAGS:-" -Werror -Wno-stringop-overflow $OPTIMIZE"}
CPPFLAGS=${CPPFLAGS:-$DIALECT}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment