On 2016.11.27 at 11:50 +0300, Vladimir Gavrilov wrote: > Dear GCC Team! > My name is Gavrilov Vladimir, and I am Associate Professor in Nizhny > Novgorod State University (Russian Federation). > > To use in educational process of this university, I wrote lexical > analyzer generator Myauka (source code: > https://github.com/gavr-vlad-s/myauka). This generator is written in > C++14 and generates C++14 text. > > I build project Myauka using applied Makefile (this Makefile was > generated my own build system). If I use g++ having version 5.1.0 or > 5.4.0, then there are no errors and there are no warnings. But if I > use g++ having version 6.2.0, then I get errors. The output of the > compiler is contained in the file "myauka-build-log-with-g++.6.1.txt". > > Moreover, if in lines 46-48 of file 'include/act_expr_parser.h' replace > struct Parser_action_info{ > uint8_t kind : 2; > uint8_t arg : 6; > }; > with > struct Parser_action_info{ > uint8_t kind; > uint8_t arg; > }; > then there are no errors and there are no warnings. > Hi Vladimir,
this list is normally used for automated bugzilla traffic only. So please open a bug report here: https://gcc.gnu.org/bugzilla/ You could include this small testcase: #include <map> struct A { int i : 1; }; std::map<int, A> ma{{1, {0}}}; -- Markus