Hi,
newer gcc versions are too picky and I get with current git master:
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS -I../.. -O2 -pipe -O2 -pipe -march=native -ftree-vectorize -Wno-cpp -c -o libAMOS_a-utility_AMOS.o `test -f 'utility_AMOS.cc' || echo '/apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/'`utility_AMOS.cc In file included from /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.hh:13, from /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:10: /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/inttypes_AMOS.hh: In function 'std::__cxx11::string AMOS::Decode(AMOS::NCode_t)': /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/inttypes_AMOS.hh:78:25: warning: narrowing conversion of '(ncode & 127)' from 'AMOS::NCode_t' {aka 'unsigned int'} to 'char' inside { } [-Wnarrowing] char buff[4] = {ncode & CHAR_MAX, ncode >> CHAR_BIT & CHAR_MAX, ^ /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/inttypes_AMOS.hh:78:55: warning: narrowing conversion of '((ncode >> 8) & 127)' from 'AMOS::NCode_t' {aka 'unsigned int'} to 'char' inside { } [-Wnarrowing] char buff[4] = {ncode & CHAR_MAX, ncode >> CHAR_BIT & CHAR_MAX, ^ /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/inttypes_AMOS.hh:79:35: warning: narrowing conversion of '(((ncode >> 8) >> 8) & 127)' from 'AMOS::NCode_t' {aka 'unsigned int'} to 'char' inside { } [-Wnarrowing] ncode >> CHAR_BIT >> CHAR_BIT & CHAR_MAX, '\0'}; ^ In file included from /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.hh:13, from /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/Message_AMOS.hh:14, from /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/Universal_AMOS.hh:13, from /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/Link_AMOS.hh:13, from /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/Edge_AMOS.hh:13, from /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/ContigEdge_AMOS.hh:13, from /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/universals_AMOS.hh:13, from /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/universals_AMOS.cc:10: /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/inttypes_AMOS.hh: In function 'std::__cxx11::string AMOS::Decode(AMOS::NCode_t)': /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/inttypes_AMOS.hh:78:25: warning: narrowing conversion of '(ncode & 127)' from 'AMOS::NCode_t' {aka 'unsigned int'} to 'char' inside { } [-Wnarrowing] char buff[4] = {ncode & CHAR_MAX, ncode >> CHAR_BIT & CHAR_MAX, ^ /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/inttypes_AMOS.hh:78:55: warning: narrowing conversion of '((ncode >> 8) & 127)' from 'AMOS::NCode_t' {aka 'unsigned int'} to 'char' inside { } [-Wnarrowing] char buff[4] = {ncode & CHAR_MAX, ncode >> CHAR_BIT & CHAR_MAX, ^ /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/inttypes_AMOS.hh:79:35: warning: narrowing conversion of '(((ncode >> 8) >> 8) & 127)' from 'AMOS::NCode_t' {aka 'unsigned int'} to 'char' inside { } [-Wnarrowing] ncode >> CHAR_BIT >> CHAR_BIT & CHAR_MAX, '\0'}; ^ /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc: At global scope: /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing] }; ^ /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '129' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '130' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '131' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '132' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '133' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '134' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '135' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '136' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '137' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '138' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '139' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '140' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '141' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '142' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '143' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '144' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '145' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '146' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '147' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '148' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '149' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '150' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '151' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '152' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '153' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '154' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '155' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '156' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '157' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '158' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '159' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '160' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '161' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '162' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '163' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '164' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '165' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '166' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '167' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '168' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '169' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '170' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '171' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '172' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '173' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '174' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '175' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '176' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '177' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '178' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '179' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '180' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '181' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '182' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '183' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '184' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '185' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '186' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '187' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '188' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '189' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '190' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '191' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '192' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '193' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '194' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '195' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '196' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '197' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '198' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '199' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '200' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '201' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '202' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '203' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '204' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '205' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '206' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '207' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '208' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '209' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '210' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '211' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '212' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '213' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '214' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '215' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '216' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '217' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '218' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '219' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '220' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '221' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '222' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '223' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '224' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '225' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '226' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '227' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '228' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '229' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '230' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '231' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '232' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '233' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '234' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '235' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '236' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '237' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '238' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '239' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '240' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '241' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '242' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '243' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '244' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '245' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '246' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '247' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '248' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '249' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '250' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '251' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '252' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '253' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '254' from 'int' to 'char' inside { } [-Wnarrowing] /apps/gentoo/var/tmp/portage/sci-biology/amos-9999/work/amos-9999/src/AMOS/utility_AMOS.cc:35:3: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing] make[3]: *** [Makefile:1059: libAMOS_a-utility_AMOS.o] Error 1
CXXFLAGS="$CXXFLAGS -Wno-narrowing"
helps is probably not backwards compatible.
by using CXXFLAGS="$CXXFLAGS -Wno-narrowing" in configure, it solves the problem.
But then, when i press make, it gives these errors:
....
make[3]: Entering directory '/home/potant/Downloads/amos-3.1.0/src/Align'
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/CelMsg -I../../src/Slice -I../../src/Common -I../../src/AMOS -I../../src/GNU -I../../src/Foundation -Wno-narrowing -Wcpp -MT genome-complexity-fast.o -MD -MP -MF .deps/genome-complexity-fast.Tpo -c -o genome-complexity-fast.o genome-complexity-fast.cc
In file included from /usr/include/c++/6/ext/hash_map:60:0,
from ../../src/AMOS/utility_AMOS.hh:48,
from ../../src/AMOS/foundation_AMOS.hh:13,
from genome-complexity-fast.cc:1:
/usr/include/c++/6/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
#warning \ ^~~~~~~
genome-complexity-fast.cc:21:74: error: template argument 3 is invalid
typedef HASHMAP::hash_multimap<mer_t, mervertex_t="" *,="" hash<unsigned="" long=""> > MerTable_t;
^
genome-complexity-fast.cc: In member function ‘MerVertex_t deBrujinGraph_t::getVertex(const Mer_t&, int, int)’:
genome-complexity-fast.cc:592:26: error: qualified-id in declaration before ‘m’
MerTable_t::iterator m = mers_m.find(mer);
^
genome-complexity-fast.cc:594:13: error: ‘m’ was not declared in this scope
while ((m != mers_m.end()) &&
^
genome-complexity-fast.cc:594:25: error: request for member ‘end’ in ‘((deBrujinGraph_t)this)->deBrujinGraph_t::mers_m’, which is of non-class type ‘MerTable_t {aka int}’
while ((m != mers_m.end()) &&
^~~
genome-complexity-fast.cc:607:5: error: ‘m’ was not declared in this scope
m = mers_m.insert(make_pair(mer, new MerVertex_t(startpos, endpos)));
^
genome-complexity-fast.cc:607:16: error: request for member ‘insert’ in ‘((deBrujinGraph_t)this)->deBrujinGraph_t::mers_m’, which is of non-class type ‘MerTable_t {aka int}’
m = mers_m.insert(make_pair(mer, new MerVertex_t(startpos, endpos)));
^~~~~~
genome-complexity-fast.cc: In member function ‘int deBrujinGraph_t::nodeCount()’:
genome-complexity-fast.cc:649:19: error: request for member ‘size’ in ‘((deBrujinGraph_t)this)->deBrujinGraph_t::mers_m’, which is of non-class type ‘MerTable_t {aka int}’
return mers_m.size();
^~~~
genome-complexity-fast.cc: In member function ‘void deBrujinGraph_t::convertToNodes()’:
genome-complexity-fast.cc:771:31: error: qualified-id in declaration before ‘mi’
for (MerTable_t::iterator mi = mers_m.begin();
^~
genome-complexity-fast.cc:771:31: error: expected ‘;’ before ‘mi’
genome-complexity-fast.cc:771:31: error: ‘mi’ was not declared in this scope
genome-complexity-fast.cc:771:43: error: request for member ‘begin’ in ‘((deBrujinGraph_t)this)->deBrujinGraph_t::mers_m’, which is of non-class type ‘MerTable_t {aka int}’
for (MerTable_t::iterator mi = mers_m.begin();
^~~~~
genome-complexity-fast.cc:772:23: error: request for member ‘end’ in ‘((deBrujinGraph_t)this)->deBrujinGraph_t::mers_m’, which is of non-class type ‘MerTable_t {aka int}’
mi != mers_m.end();
^~~
genome-complexity-fast.cc:772:28: error: expected ‘)’ before ‘;’ token
mi != mers_m.end();
^
genome-complexity-fast.cc:773:10: error: ‘mi’ was not declared in this scope
mi++)
^~
genome-complexity-fast.cc:785:12: error: request for member ‘clear’ in ‘((deBrujinGraph_t*)this)->deBrujinGraph_t::mers_m’, which is of non-class type ‘MerTable_t {aka int}’
mers_m.clear();
^~~~~
Makefile:918: recipe for target 'genome-complexity-fast.o' failed
make[3]: [genome-complexity-fast.o] Error 1
make[3]: Leaving directory '/home/potant/Downloads/amos-3.1.0/src/Align'
Makefile:325: recipe for target 'all-recursive' failed
make[2]: [all-recursive] Error 1
make[2]: Leaving directory '/home/potant/Downloads/amos-3.1.0/src'
Makefile:306: recipe for target 'all-recursive' failed
make[1]: [all-recursive] Error 1
make[1]: Leaving directory '/home/potant/Downloads/amos-3.1.0'
Makefile:244: recipe for target 'all' failed
make: [all] Error 2</mer_t,>
I have exactly the same problem...
Hello, I'm having this issue too.